Re: mingw -> linux cross compiler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Eljay Love-Jensen <eljay@xxxxxxxxx> writes:

> Now let me guess your next question, "How do I make a GCC compiler
> for Linux hosted on Cygwin/WinNT?"  Ahem... ummm... I don't know.
> Anyone have a useful URL or advice?

I don't have a useful URL.  While people do Linux -> Windows all the
time, I doubt Windows -> Linux is common.  The basic operation would
be

    configure --build=i386-cygwin --host=i386-linux-gnu --prefix=/....
    make

I'll note that you do need Linux header files and a Linux glibc.
There is no substitute for that.  Fortunately Linux binaries are easy
to come by.  I wouldn't recommend trying to build glibc on a Windows
system; that sounds like a world of hurt.

Also, you need to build the binutils as well as gcc.

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux