View previous topic :: View next topic |
Author |
Message |
Baker

Joined: 14 Mar 2006 Posts: 1538
|
Posted: Mon Jan 12, 2009 3:57 am Post subject: MinGW - Can I compile for Linux on Windows? OSX too? |
|
|
MinGW - Can I compile for Linux on Windows?
Anyone know?
Also, although I have a Mac, I saw some xcode library for MinGW. Can I actually compile for OSX on Windows with MinGW?
I ask because Windows is a hell of a lot easier for me writing and editing source code and although I have an FTP into my Mac setup and used to do that for Linux, it'd be so much easier to do all of my compiling on Windows. |
|
Back to top |
|
 |
Spike
Joined: 05 Nov 2004 Posts: 944 Location: UK
|
Posted: Wed Jan 14, 2009 5:29 pm Post subject: |
|
|
mingw is minimalist gnu for windows. so no.
you can compile for linux in windows using colinux.
alternatively you can download gcc and compile a cross compiler, then get the linux headers (glibc is a biggie). and get a native compiler...
but colinux is easier to install and get running, though I'm not sure what it'll let you run. should let you test stuff to some extent too, or something. not sure. at least it'll come with all the right header files :)
don't know about compiling for mac on windows. I don't think apple officially allow it. you'd lack lots of libraries. _________________ What's a signature? |
|
Back to top |
|
 |
Baker

Joined: 14 Mar 2006 Posts: 1538
|
Posted: Wed Jan 14, 2009 6:45 pm Post subject: |
|
|
Spike wrote: | mingw is minimalist gnu for windows. so no.
you can compile for linux in windows using colinux.
alternatively you can download gcc and compile a cross compiler, then get the linux headers (glibc is a biggie). and get a native compiler...
but colinux is easier to install and get running, though I'm not sure what it'll let you run. should let you test stuff to some extent too, or something. not sure. at least it'll come with all the right header files  |
Foiled again!
Ok, I'll give colinux a shot then and see that works out.
I expected that compiling for OSX was not workable, but likewise wondering why MinGW has an xcode folder ? |
|
Back to top |
|
 |
Spike
Joined: 05 Nov 2004 Posts: 944 Location: UK
|
Posted: Wed Jan 14, 2009 6:59 pm Post subject: |
|
|
mingw compiles _for_ windows, not specifically on windows. to build windows apps in linux, you use mingw set up as a cross compiler.
I assume the xcode thing is so you can set up a mac->windows cross compiler with it, but I don't really know. _________________ What's a signature? |
|
Back to top |
|
 |
|