This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building cross-compiler w/ linux host and mingw target.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]