ts-7000
[Top] [All Lists]

[ts-7000] Crosscompiling to TS-8900-4700

To:
Subject: [ts-7000] Crosscompiling to TS-8900-4700
From: "" <>
Date: Mon, 21 Jan 2013 19:51:02 -0000
Hi.

This is more likely to just be a wail of frustration, but if anyone can help, I 
would be delighted!

I have been using TS7550 boards for a few years, and have been developing on 
Mac OSX.

Now I'm onto the TS-8900-4700 and it's all gone horribly wrong!  I need to 
develop using X11 + GTK in C++.

I would really rather not develop directly on the board itself, as I would 
rather use a fast processor and either Xcode (native on OSX) or at a pinch 
Eclipse on a Ubuntu VM hosted on the Mac. (Ubuntu can use the Mac filesystem 
using Parallel Tools so I don't have to copy files about).

The problem is that TS have kindly supplied a crosstool build called arm2008q3 
which is based on 
GCC 4.3.2
GlibC 2.8
while the TS47000 has GCC 4.4.5 and Glibc 2.11.

I tried to build X11 and GTK on the crosstool environment but ended up in real 
mess due to the dependancies. At one stage it was trying to pull in the 
entirety of perl.  Some things also won't cross-compile as they build a program 
and try and run it - which will not run on the host system.

X11- I can't get XAuth to build as it in turn wants a package called xmuu which 
doesn't appear to exist.

GTK - buckets of dependancies I really don't want.  I don't care about ATK and 
I don't want to print.

For example in Glib:
configure: error: cannot run test program while cross compiling
See `config.log' for more details.

Then I thought I would take the "easy" route and copy all the includes and 
libraries required by X11, GTK and all their dependancies to the crosstool 
environment.  This fails because GTK wants a later version of Glibc than 2.8 - 
in fact it uses pipe2 call which was only introduced in Glibc 2.9

Then I tried copying over ALL the libraries and includes from TS4700 to 
crosstool, which was a big mistake as  the ld-linux doesn't work.  This was an 
attempt to upgrade the crosstool environment to Glibc 2.11.  

I then looked at Linux From Scratch (Embedded) but ran away screaming.  Latest 
venture is Crosstool-NG to to try and build something with Glib 2.9 or later.  
But of course  OSX has case-insensitive file system, so crosstool-NG throws you 
out right at the start.

So I've created a case-sensitive file system and am trying to build in that. 
Having problems with readelf and objcopy being in the wrong place and having 
the wrong names.

What I would like is a crosstool environment usable on OSX that matches the GCC 
and GLIBC on TS4700 - preferably with X11 and GTK included.

What's my best route out of the jungle?

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/

<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