--- In "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
------------------------------------
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/
|