|
From: <de...@lm...> - 2002-06-17 15:37:06
|
Hello, I am just trying nearly the same thing. Building a mingw cross compiler = on Solaris. When I enter the compiler line from the config ouput by hand ld says: -luser32 is missing. I install the missing libs from the mingw distribution and get gcc 3.1 running on solaris for a simple hello-world program. But I stick when I try to compile a = more complicated program. -> strtoull() is missing (referenced in a c++ lib, not in my program) Is there already a 3.1 cross compiler for mingw build out there? Ruediger > -----Urspr=FCngliche Nachricht----- > Von: Federico Fernandez [SMTP:fed...@di...] > Gesendet am: Montag, 17. Juni 2002 16:42 > An: Jos=E9 Fonseca > Cc: min...@li... > Betreff: Re: [Mingw-users] Mingw GCC 3.1 linux to windows cross > compiler >=20 > Hi Jos=E9 and all!=20 >=20 > I have already tried what you said.=20 >=20 > I used your xmingw32.mak and SF tgzs for binutils, gcc, w32api and > mingw-runtime. I updated the versions and make.=20 >=20 > When building binutils I have a problem with stricmp (unresolved = symbols) > in pe-dll.c I just changed "stricmp" to strcmp. I think this is a = minor > problem. (don't know too much about this). After that everything in > binutils went ok.=20 >=20 > It's time for gcc. The first problem I found was that stdio.h was not > found. I thought this was a problem about include directories and = move > some files from w32api and mingw-runtime to the correct place.=20 >=20 > Gcc started compiling again and it went far away until reconfiguring = when > I got this error:=20 >=20 >=20 > checking whether the C compiler > (/home/federico/mingw/gcc-3_1-20020516/gcc/xgcc > -B/home/federico/mingw/gcc-3_1-20020516/gcc/ > -B/home/federico/xmingw32/i386-mingw32msvc/bin/ > -B/home/federico/xmingw32/i386-mingw32msvc/lib/ -isystem > /home/federico/xmingw32/i386-mingw32msvc/include -s -O2 ) works... no = > configure: error: installation or configuration problem: C compiler = cannot > create executables.=20 >=20 >=20 > At this point I couldn't continue. No matter what I tried.=20 >=20 >=20 > I hope this explanation is useful for you, and therefore for me.=20 >=20 >=20 > Thanks=20 |