Compile on Windows for Solaris and Linux

G

guyle

Hi,

I am working on Windows so I have to compile my C code on Windows.
But I want the compiled code to run on Solaris and Linux (not the same
compiled code for both of-course).

Are there tools that do that (compile on Windows for other Oss)?

Thanks,
Guy
 
A

akarl

guyle said:
I am working on Windows so I have to compile my C code on Windows.
But I want the compiled code to run on Solaris and Linux (not the same
compiled code for both of-course).

Are there tools that do that (compile on Windows for other Oss)?

What you want to do is called cross-compiling. Search the Internet for
"cross-compiler".

August
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,434
Messages
2,571,685
Members
48,796
Latest member
Greg L.

Latest Threads

Top