On Sat, 4 Dec 2010 13:54:55 +0100 Enrico Weigelt <weigelt@metux.de> wrote: > > I have installed the cross-compiler from emdebian testing (gcc 4.4) > > and also installed a debian squeeze chroot with armel packages. > > When i try to compile my program, i got the following error: > > > > $ /usr/bin/arm-linux-gnueabi-gcc `pkg-config Define the PKG_CONFIG_LIBPATH http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=551118 > Of course! pkg-config gives you wrong library pathes. No, pkg-config needs the environment variable and then it will give the right paths. pkg-config can't know that you're cross compiling unless you actually let it know. > You should use sysroot. No. sysroot is not a suitable solution for this. Just use the support which already exists. -- Neil Williams ============= http://www.linux.codehelp.co.uk/
Attachment:
pgp4HVJafbWF4.pgp
Description: PGP signature