ts-7000
[Top] [All Lists]

[ts-7000] Re: cross compiler creates EABI version problems

To:
Subject: [ts-7000] Re: cross compiler creates EABI version problems
From: "tachion0niohcat" <>
Date: Wed, 17 Mar 2010 16:23:16 -0000
If you want to convert your system to a full EABI (please make a backup 
first!). Here are some of my notes on creating a debian "Lenny" EABI system:
-------------------------------------
Details about EABI, and why you want it, are http://wiki.debian.org/ArmEabiPort
This website also details how to do the lenny eabi insall: 
http://ted.openavr.org/Lenny-on-ts7390/
(found on: http://tech.groups.yahoo.com/group/ts-7000/message/13842)

First attempt using "apt-get dist-upgrade" failed, in that it upgrades to the 
"arm" and not the "armel" version.
Next attempt: follow these http://wiki.debian.org/ArmEabiHowto, but then 
different.
Try using debootstrap, info is here: 
http://www.debian-administration.org/articles/426
First get it, then run it
apt-get install debootstrap
debootstrap --verbose --arch armel --foreign lenny /armel-chroot 
http://ftp.de.debian.org/debian

In my case this worked, but still required a lot of packages to get updated "by 
hand"

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



--- In  "Achim" <> wrote:
>
> So meanwhile I also got an response from the helpdesk. What they responded 
> was helpful for me:
> "The TS-7800 uses an EABI binary for the kernel, but all of the Debian 
> libraries are OABI, meaning in order to cross compile you will need to use an 
> OABI compiler."
> After using the OABI 3.3.4 cross compile it worked
> 
> 
> --- In  "Achim" <AchimRS@> wrote:
> >
> > steps to recreate the problem:
> > - Cross-compile any .c source with "arm-none-linux-gnueabi-gcc" version 
> > 3.4.4 on a Linux workstation. .o files are generated successfully
> > - copy the *.o files over to an TS-7800
> > - link them there with others, e.g. "gcc -O -Dlinux -D_GNU_SOURCE  main.o 
> > -lz" will lead to errors like:
> > "/usr/bin/ld: ERROR: /usr/lib/gcc-lib/arm-linux/3.3.5/../../../libz.so is 
> > compiled for EABI version 0, whereas a.out is compiled for version 4"
> > 
> > I've tried to cross-compile as much as possible on the Linux workstation, 
> > but there are still libraries left like libz.so libusb.so libmysqlclient.so 
> > libgcc.a libc.so.6 and others. So I gueaa I have to solve this problem 
> > somehow other.
> > 
> > Do anyone have an idea?
> >   Thanks
> >      Achim
> >
>




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

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