autoconf/configure-based linkage/include paths.

Dan Kegel dkegel@ixiacom.com
Wed Mar 19 23:02:00 GMT 2003


Keith Kyzivat wrote:
> Ok.  I have fixed the problem.  It has to do with libtool having a 
> hardwired lib search path of /lib /usr/lib and /usr/local/lib,
> which in the cross-compile case, is incorrect.  I modified the generated 
> libtool script contained in the project dir,
> modifying the sys_lib_search_path_spec so it contained *only* the 
> target's lib dirs.  note that this gets defined twice in the library
> for some reason.
> To top things off, and make sure there weren't any collisions, I took 
> out all the *.la files in lib folders around my system (I stored them in 
> a backup heirarchy).
> 
> Cleaned and rebuilt, and voila, things link properly.

I have a feeling libtool-1.5, when it's released in the
not too distant future, will address this problem.
- Dan


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



More information about the crossgcc mailing list