View Full Version : Something Concerning C language


CVirus
A question plzzz :
If I compiled a C source Code under Linux .. can i run it under windez and vice versa ?If no ... then why cant i ?


can I use any Source Code of a Linux programe and Compile it under windez then use it under windez?If not ... then why cant I ?

ShErbO
Dear CVirus,

I'm not sure of anything but this is what I know:

If you have the source of a windows application, you can compile it under linux (called cross-compiling I think).

But if you have the source of a linux application, you can't compile it directly and run it under windows. you have to (port it) which includes heavy modifications on the source code. This is due to different libraries, functions and different APIs.

jo-jo
use compiler & IDE from :
www.bloodshed.net/devcpp.html