ts-7000
[Top] [All Lists]

[ts-7000] Re: Qt/Embedded - almost there!

To:
Subject: [ts-7000] Re: Qt/Embedded - almost there!
From: "Doug" <>
Date: Mon, 17 Aug 2009 19:44:29 -0000
--- 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/

<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