ts-7000
[Top] [All Lists]

[ts-7000] Re: How to make an EABI cross compiler for ts boards, step by

To:
Subject: [ts-7000] Re: How to make an EABI cross compiler for ts boards, step by step
From: "Dunge2" <>
Date: Sat, 15 Aug 2009 19:26:06 -0000
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/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU