porting to Windows, 16/32-bit?
Hi, I am a C noob, just starting to learn. I wrote a couple simple programs in my Debian Linux environment and I'm trying to port them to Windows. I created a 16-bit .exe with gcc, but Windows XP apparently won't run any executables lower than 32-bit! Any suggestions? Is there some kind of program that can convert 16 to 32-bit? Do I have to rewrite/recompile my code in a Wintel environment using a Wintel compiler that has the ability to compile to 32-bit executables? Thanks for any suggestions...
Ok, I'm an idiot, forgot C is platform-specific, will recompile in windows with some sort of free GNU compiler...(I'm coming from more of a Java background although I am still a bit of a Java noob as well.)
However I'm still curious as to what the differences in code might be? For example, do you have to link to different libraries in Windows?