ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: GCC version soup in TS-7500

To:
Subject: Re: [ts-7000] Re: GCC version soup in TS-7500
From: walter marvin <>
Date: Sun, 17 Oct 2010 19:31:47 -0700 (PDT)





From: naturalwatt <>
To:
Sent: Sun, October 17, 2010 11:37:18 AM
Subject: [ts-7000] Re: GCC version soup in TS-7500

  You have to link statically because the onboard library and the cross library are not the same: you can't use the onboard dynamic libraries.



--- In ts-7000%40yahoogroups.com, "David" <> wrote:
>
> Hi all,
>
> I am just starting to work with a TS-7500 board and have a question regarding GCC and library versions.
>
> The cross-compiler toolchain available at ftp.embeddedarm.com and in the image included with the SDK is GCC 3.3.4 / GLIBC 2.3.2. So far, so good.
>
> As an early effort, I built a quick C++ app but the board refuses to run it complaining that libstd++.so.5 is not present. Looking around I found that the version available is libstd++.so.6. Finding that odd, I dug a bit more and the figured that the system is based on GCC 3.4.6 which, incidentally, is the version used to build busybox/initrd.
>
> I looked all over the at the ftp site and could not find a toolchain for 3.4.6. On the other hand, I see no mentions of this situation here in the list. Am I missing something?
>
> I wonder if everybody is just copying the libs to the SD card or linking statically. While both are viable workarounds, I wonder why the tools are not in sync with the distribution, which leads me to think that I am being blind to something obvious.
>
> I used several search queries in the group message archive but came out with no significant results. Any input, tips, flames, etc. would be welcome.
>
>
> Thanks,
>
> David Mora

Hi David.

I think you are using the wrong toolchain for the TS7500 series. I use the version you list for the TS7250, and because I want the same executable to run on both TS7250 and T7550, I got the problem of wrong C++ library.

It does look strange that the path /ts-arm-sc/ts-7500-linux/cross-toolchains provides the wrong version, but you get to love TS's little quirks after a few years. Honestly.

I copied the libstdc++.so.5 from a TS7250 to the TS7550 and everything is fine.

The crosstool-linuc-arm-uclibc-3.4.6 is used to build the fastboot environment which means that executables provided there (like nandctl) cannot be run in the Debian environment.

I've had a quick poke around on the FTP site and can't find anything I would recommend to you.

Martin



__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<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