--- In Scott Zimmerman <> wrote:
>
> FWIW: I just spent a couple of hours playing with dpkg-cross and apt-cross
> to try download cross compiled versions of the libs I want use with my new
> EABI cross compiler. I couldn't ever get them to find anything that was
> available for the arm architecture. I know there is an X11 that is cross
> compiled for debian arm. I can download it using apt-get from the TS-7390.
> Why I can't I convince my Ubuntu laptop to go get the same package?! So
> frustrating. So now I have a beautiful cross compile and if all I want to
> do is build helloworld I'm in fat city. But I want to build anything real
> using X11, I'm back to building on the TS-7390 itself. Is this really such
> a hard question that no one the list knows the answer? What is everyone
> using for GUI on the TS-7000 boards?
Hi Scott,
I had no idea about dpkg-cross...interesting. While I have no experience with
it, I can tell you how I've done this in the past.
First of all, Andy's EABI instructions really won't work if you're planning on
using libraries that are already on the TS-7390. You will need to change it so
that it builds with the glibc version that is on the root system you're using
on the 7390. Hopefully, it'll work out of the box without any patching needed.
I haven't tried it. Also, you need to be using an EABI root file system (I
wasn't sure if you were doing this or not so I figured I'd mention it).
Here's what I'd recommend for what you're trying to accomplish:
Install the package on the TS-7390, along with the "-dev" version of it too
using apt-get.
Grab the libraries and include files that it installed into your system
(usually in /usr/lib and /usr/include) and copy them over to your cross tool
chain's sys-root folder in the correct place.
You can now uninstall the -dev version of the package from the 7390 if you
want. We only installed it to grab the headers and development libraries.
Now you can compile packages that use these libraries on your cross compiler.
I know it's fairly annoying to manually copy the files over from the TS-7390
board, but it does work. :-)
As for a GUI:
I wasn't very impressed with Xorg on the TS-7390. We're using Qt/Embedded 4.5.2
now. It works absolutely great! I can tell you that setting it up and compiling
it is a major pain though. You first need to compile tslib, and then
cross-compile Qt.
Donal's instructions from his blog helped us get started with compiling Qt and
tslib. here are the Qt instructions, the tslib instructions are on there
somewhere too:
http://automon.donaloconnor.net/cross-compiled-qt-embedded-step-by-step/74/
------------------------------------
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/
|