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

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top