Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compiling for a third OS

Status
Not open for further replies.

GerritGroot

Technical User
Nov 3, 2006
291
ES
Another question... ...maybe a stupid one , but anyway.

Is it possible to build an executable for another OS than the one you're working with without having that OS?

I mean, can I compile and build an executable in linux that will run in windows and vice versa (or mac, unix, freebsd or whatever)?

Thanks,

Gerrit
 
If you have a cross compiler yes, otherwise no. It is how they build stuff for proms, mobile phones etc.
 
You can build on WinNT to run on the other Windows platforms.
 
Thank you xwb!

So I have to look for a "cross compiler"?

Is there any free cross compiler? (I suppose not)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top