This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

Re: library paths


jimk@scitechsoft.com wrote:

> Here's my problem.  I created a cross-compiler from windows
> targetting linux.  In order to do that, I copied the libs from /usr/lib on
> my linux box to $prefix/i486-linux/lib on my windows box and I
> copied /lib from my linux box to /lib on my windows box.  The linker
> evidently looks in one place some times and in the other place the
> rest of the time because it was looking for one library in /lib that was
> actually in $prefix/i486-linux/lib as well as looking for one lib in i486-
> linux/lib which was actually in /lib.

  Please edit your '$prefix/i486-linux/libc.so' !

  Whatever the filetype '.so' hints, it is a ld-script having values for
the native environment, not a true library file...

  This is a FAQ and has been discussed on this list many times when
someone has tried to build a Linux-targeted toolset...

Cheers, Kai


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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