This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Building cross-compiler w/ linux host and mingw target.
- From: Lars Andersen <lars at rimfaxe dot com>
- To: Adam Megacz <gcj at lists dot megacz dot com>
- Cc: java at gcc dot gnu dot org
- Date: 04 Sep 2002 23:38:48 +0200
- Subject: Re: Building cross-compiler w/ linux host and mingw target.
- References: <1030058551.914.11.camel@lars.rimfaxe.com><86u1lmp4gp.fsf@megacz.com> <1030084903.16904.1.camel@lars.rimfaxe.com> <86vg5yz5wy.fsf@megacz.com>
On Mon, 2002-08-26 at 04:54, Adam Megacz wrote:
>
> Lars Andersen <lars@rimfaxe.com> writes:
> > /usr/local/cross_gcc/mingw/i686-pc-mingw32/bin/ld: cannot find -luser32
>
> You need to have user32.lib in your LD_LIBRARY_PATH.
>
> - a
Well, you're right except it goes into the platform specific include
dir. Just adding it to a dir in the LD_LIBRARY_PATH doesn't cut it.
However a similar problem comes up next "cannot find -ladvapi32", I'm
guessing this is advapi32.lib thats missing.
How many of those lib's provided with MS compilers are needed? If its a
lot it could be quite tedious to run make, get the lib, run make again
etc.
Is there a list somewhere, or do you just chunk in all the libs you can
find??
/Lars Andersen