[Freeciv-Dev] crosscompile [ot]
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
David Weisgerber writes:
> Hi folks,
> do someone of you have information about making gcc crosscompile on linux to
> win32 ? Would someone help me with this ? Thx!
Get cygwin sources of binutils and gcc.
Then do for both (binutils first):
./configure --target=i386-mingw32
make
make install
Then you need to install the headers and libs into
/usr/local/i386-mingw32/include respectively
/usr/local/i386-mingw32/lib
You can get them from the mingw and w32api package from a cygwin
distibution.
Greetings
Andreas Kemnade
|
|