Roger Nichols | 16 Jul 2011 04:58

bug#9095: libtool is picking the wrong path for dependent libraries

hi,

i dont know if i have a bug, or user error.  i am cross compiling
openhpi (and openipmi) into a root file system.  the libtool command
does not have the build host system's libraries in the -L arguments,
yet the libraries are explicitly pathed to the build host's versions.
even if i use --with-openipmi=/path/to/openipmi, since the libs are
added to the link line with -L -l -l, libtool seems to search for the
libs and explicitly path them.  is this a bug?  or how do i get libtool
to use the cross compiled libraries?

here is the libtool command, and the resultant link line.  (the spacing
is mine so i could see what was happening.  the output's order _is_
preserved.)

thanks for your help
--roger

/bin/sh ../../libtool --tag=CC   --mode=link 
    /opt/timesys/toolchains/ppc86xx-linux/bin/ppc86xx-linux-gcc
    -m32 -mhard-float -mmultiple -mno-string -mcpu=7450 -O0 -D_REENTRANT
    -I/opt/timesys/toolchains/ppc86xx-linux/powerpc-timesys-linux-gnu/include/glib-2.0
    -I/opt/timesys/toolchains/ppc86xx-linux/powerpc-timesys-linux-gnu/lib/glib-2.0/include
    -Wall -Wmissing-prototypes -Wmissing-declarations
    -Wstrict-prototypes -Wpointer-arith -Wformat=2 -Wformat-security
    -Wformat-nonliteral -Wno-format-y2k -Wcast-qual -Wcast-align
    -Wno-strict-aliasing -Wno-unused-value -Werror
    -D_GNU_SOURCE -D_REENTRANT -fexceptions
    -I/opt/timesys/toolchains/ppc86xx-linux/powerpc-timesys-linux-gnu/include
    -m32 -mhard-float -mmultiple -mno-string -mcpu=7450 -O0 -D_REENTRANT
(Continue reading)

Christophe Jarry | 31 Jul 2011 15:59

bug#9210: Documentation: misleading wording

Dear maintainers,

Today I browsed
http://www.gnu.org/software/libtool/manual/html_node/Configure-notes.html#Configure-notes
and read this:

    When building on some linux systems [...]

I am surprised you use the name "linux" to designate the entire system. I think
you should use "GNU/Linux" instead. For more information, please read
http://www.gnu.org/gnu/gnu-linux-faq.html.

Christophe

Gmane