A few second after last post..
I successfully built glib and libsigc++. I then try to build glibmm (which
depend on libsigc++). The configure script went fine, but calling make had an
error because it tried to link against the /usr/libsigc-2.0.so which is i486.
Now, if I understand correctly, it check PKG_CONFIG_PATH, and check the files
there to see where the libs are. Since the libs are built with --prefix=/usr/,
it think they are in /usr/ instead of the x-tools path.
As a matter of fact:
cat
/home/dunge/x-tools/arm-ep9312-linux-gnueabi/arm-ep9312-linux-gnueabi/sys-root/usr/lib/pkgconfig/sigc++-2.0.pc
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: libsigc++ 2
Description: Typesafe signal and callback system for C++
Version: 2.2.3
Libs: -L${libdir} -lsigc-2.0
Cflags: -I${includedir}/sigc++-2.0 -I${libdir}/sigc++-2.0/include
This is probably good later on for when you are executing on the device, but
not while you cross-compile.
How to get past that? Modify every .pc file at hand, and then re-modify them
back to what they are now when you finished cross-compiling everything?
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|