Oh, a few years ago I wanted to write a simple program for dos. Since this is a Linux-only household otherwise, I was delighted to see OpenWatcom has a Linux port. I spent a good half hour trying to get a simple first version of the program I wanted to write running, but it always crashed right away. I simplified more and more until I basically arrived at hello world. On a hunch I ran the windows version of OpenWatcom with wine, and lo and behold, the program ran flawlessly! Once I googled that I found a couple of forum threads where people went like "yeah sure the Linux port produces broken binaries" because of course.
It's never the compiler until it's the compiler. Just didn't expect it during some simple fun coding at home. :)
Oh, a few years ago I wanted to write a simple program for dos. Since this is a Linux-only household otherwise, I was delighted to see OpenWatcom has a Linux port. I spent a good half hour trying to get a simple first version of the program I wanted to write running, but it always crashed right away. I simplified more and more until I basically arrived at hello world. On a hunch I ran the windows version of OpenWatcom with wine, and lo and behold, the program ran flawlessly! Once I googled that I found a couple of forum threads where people went like "yeah sure the Linux port produces broken binaries" because of course.
It's never the compiler until it's the compiler. Just didn't expect it during some simple fun coding at home. :)