autoconf/configure-based linkage/include paths.

Keith Kyzivat kkyzivat@attbi.com
Tue Mar 18 18:19:00 GMT 2003


Ok, this is driving me nuts.

I've got a package (Konq/E) that I've been working on, fixed or stubbed 
all the current bugs, and now I'm down at the linking stage.
I get errors trying to link to the host's libraries (/usr/lib/...), that 
they aren't the right endianness, etc... typical 
couldn't-find-target-libraries error.

I've done this quite a few times before with other packages, and know 
that there is some finagling to let configure know what include and 
library paths to use.

1.) prefix refers to a place in which $prefix/lib has libraries for the 
target platform
2.) ditto for buildprefix
3.) I also pass --with-extra-libs pointing to a place with the libraries 
for the target platform reside.

What am I doing wrong?
Can someone give me a list of all the various ways,places, etc that 
autoconf/configure looks for using include paths?

Oh, and I do indeed see a correct -L argument to the failing g++ 
command...  Someone mentioned that it might have something to do with 
the libtool archive files.  Can someone explain this to me?

Included is my build output, as well as the scripts I use for configuration.

Thank you,
Keith Kyzivat

-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.out.bz2
Type: application/octet-stream
Size: 15665 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20030318/11896a59/attachment.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ppc860_config
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20030318/11896a59/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: xconfigure
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20030318/11896a59/attachment-0001.ksh>
-------------- next part --------------
------
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