--- In Scott Zimmerman <> wrote:
>
> Okay,
>
> So I've been able to use my nice EABI cross compiler to build all of Qt
> including tslib. Everything looks good and I can even cross compile a
> simple example using the Ubuntu version of qmake and then cleaning up the
> makefile it produces. When I look at the executable, it's definitely ELF.
> But when I copy the executable to my 7390, I get a "No such file or
> directory" error when I try to run it.
Hey Scott,
This is what I was talking about when I said you need an EABI root file system
:-) It's because you're running an OABI root file system, so when you try to
run the executable, it's getting that error because (I believe) it can't find
the right ld-linux and libc and all that stuff. So yeah, it's because you need
an EABI root file system with glibc 2.9.
You have two options at this point:
1) You can replace the Debian glibc libraries you're currently using on the
7390 with the ones in your cross toolchain's sys-root folder (so this will
replace the Debian libc with your new EABI version). This will cause all the
Debian stuff to quit working because they were linked against the Debian OABI
root. I think BusyBox (fastboot) will still work though, because it's
statically linked. But if you tried to boot into the full Debian boot it
wouldn't work.
2) Make a different cross toolchain that matches the 7390's libraries and
compile tslib and Qt using it. In that case you would have to choose a glibc
version that matches what's on your TS-7390 root file system--e.g. follow the
cross compiler instructions from before, but choose glibc 2.3.6 and disable
EABI. This won't give you any of the benefits of the faster EABI stuff.
I think TS has a 7390 EABI root file system dd image, but it probably uses an
older version of glibc. If you want to go that route, you'll probably need to
re-make your tool chain to use the appropriate version of glibc.
------------------------------------
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/
|