Compiling Issues In C Using Windows and Linux
When compiling in emacs in linux i can not run the .exe in windows, though i can in Linux.
How do i compile a .c program to run in Windows?
And likewise when compiling in Dev-C and trying to run the .exe in Linux it doesn't work.
Any help would be grateful
Re: Compiling Issues In C Using Windows and Linux
The source code is portable, not the resulting executable.
You copy your .c file to your Linux box, and use gcc to compile it.
You copy your .c file to your windows box, and use dev-c++ to compile it.
|All times are GMT +5.5. The time now is 03:15.|