LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Is it possible to compile linux apps on a windows machine? (https://www.linuxquestions.org/questions/linux-software-2/is-it-possible-to-compile-linux-apps-on-a-windows-machine-252342/)

snuffalufagus 11-08-2004 04:18 AM

Is it possible to compile linux apps on a windows machine?
 
I have a machine with a PIII 1Ghz and 256MB ram, running Slack 10 and kernel 2.6.9, and it kinda takes a long time to compile large apps. So i was wondering, is there anyway that i can utilise my laptop (P4 2.6Ghz 1GB Ram running WINXP) to compile for my linux machine from the windows environment???

Also, if it is possible to do this, is it also possile to use a program like distcc and share the compiling load accross the diff platforms??

Thanks

Baldrick65 11-08-2004 04:45 AM

Have you considered using a live distro like knoppix on your laptop to compile?

Baldrick

karlan 11-16-2004 12:50 PM

look up a cross compiler, probaly through minsys, or cygwin.

jon3k 11-16-2004 02:01 PM

Only the source code could even possibly cross platforms and still function properly. If you compile it on a windows machine its going to hook into libraries that simply don't exist on your linux machine.

Knoppix was by far the best idea. Just throw in a live CD that you can boot off of on your faster machine, and run your compile there. Then just move the binary to your full fledged linux machine.

Or, just ditch XP all together :) *ducks*


All times are GMT -5. The time now is 04:09 PM.