Jump to content
xisto Community
Sign in to follow this  
Florisjuh

Can A Windows Compiler Compile For Linux?

Recommended Posts

A friend of me, is working on a mod for a tournament where I am a co admin off... The problem is... My friend uses Windows. Are there any Windows programs that can ccompile .so's to use on a linux server / box?Thanks for any reply's

Share this post


Link to post
Share on other sites

Since no one else will, I guess I'll help.

 

Instruct your friend in installing Cygwin-X (Win distribution of course)

and running it, should be just like Linux after running. - make sure

you get gcc. If that won't work, God help you in trying that on Dev-C++

(gcc compiler) - get it at http://www.bloodshed.net/dev/devcpp.html

Share this post


Link to post
Share on other sites

Is that compiler in windows running in linux server?? i don't think so. Java compiler need to set the environment, gcc for C compiler, i dunno but may be there is a special software for compile java or c.Btw, whatelse compiler running on linux, i reallly noobs on linux, and osknockout, you seem very good on coding... you should teach me... :rolleyes:

Share this post


Link to post
Share on other sites

I don't think there is such a compiler.but you can use virtual machine to run linux system under windows.such as vmware.then compile the program in virtual machine ,so "in windows".

Share this post


Link to post
Share on other sites

A friend of me, is working on a mod for a tournament where I am a co admin off... The problem is... My friend uses Windows. Are there any Windows programs that can ccompile .so's to use on a linux server / box?
Thanks for any reply's

whay you dont download a live linux cd
and make your friend use it to compile his mod on
their is allot of linux live cd on the internet
and that is the easist way of doing this
ansted of traying to use linux under widows
and if you friend dont play computer games allot (windows computer games)
then i bite he will became linux user :rolleyes:

Share this post


Link to post
Share on other sites

There is a cross compiler for Windows (to compile Windows programs from Linux), but I don't think the reverse exist. People can just install a Linux when needed, while for Windows it is not always possible without more budget.However it can still be made relatively easy if someone knows how to configure and recompile GCC. But I don't think a lot of people will support the idea of this unnecessary workload (for maintenance).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.