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 23:21:15 -0000
--- In  "Doug" <> wrote:
> 
> Or, as you said earlier, I would assume that changing the .pc files manually 
> would also suffice. I believe they're only necessary for compiling anyway, so 
> they probably don't even need to be on the target system. This is probably 
> what I would do honestly. I'm pretty sure it would work just fine.
>

Well it don't. Don't seems sufficient because it still tells me 
/usr/libsigc-2.0.so is in wrong format. If I check the config.log file, I can 
see things like:
prefix='/usr'
exec_prefix='${prefix}'
libdir='${exec_prefix}/lib'
includedir='${prefix}/include'

So I guess it's important that the prefix point to the ARM sys-root path, even 
when crosscompiling.

So I tried to do as you said, using a common folder. I first did a
cp .../arm-ep9312-linux-gnueabi/sys-root /opt/eabiCross -a

Then I updated the PKG_* and PATH env var. Deleted my glib source dir, 
re-extracted from tarball, and followed the step I posted two thread back.

At the "make install" step (whether I use DESTDIR or not) it fail:
/arm-ep9312-linux-gnueabi/bin/ld: skipping incompatible /lib/libc.so.6 when 
searching for /lib/libc.so.6
/arm-ep9312-linux-gnueabi/bin/ld: cannot find /lib/libc.so.6
libtool: install: error: relink 'libgmodule-2.0.;a' with the above command 
before installing it

But there's no "above command", and I deleted all traces of gmodule. This is 
actually the error I had yesterday, and who had magically disappeared when I 
tried this morning..



------------------------------------

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