ts-7000
[Top] [All Lists]

[ts-7000] gcc 4.x cross compiler

To:
Subject: [ts-7000] gcc 4.x cross compiler
From: "Frank Pagliughi" <>
Date: Tue, 02 May 2006 15:33:40 -0000
Hey all,

I just uploaded scripts to compile gcc-4.0.2 using the latest
crosstools-0.42. I've successfully built C, C++, Java, and gdb on both
Linux (FC4) and cygwin.

I matched glibc and Linux headers to what were already on the board
(glibc-2.3.2 & linux-2.4.26). I was also able to build this compiler
version against the default Linux 2.6.15 kernel and with different
versions of glibc.

Just download crosstools-0.42 tarball from kegel.com/crosstool, unpack
it, then untar the scripts I provided into the same directory. Then
just run "arm9tdmi.sh"

I built it on several host systems, but the latest FC5 wouldn't build
Java. If I removed "java" from arm9tdmi.sh it built everything else ok.

This version of gdbserver is also compatible with the latest
Insight-0.64, which I was able to build under Linux (but not cygwin -
yet). You can get that from sourceware.org/insight.


I've tested the C & C++ compilers, but not Java yet. Everything seems
to work well, but I am unable to debug pthreads. When I create a new
thread the debugger doesn't see it, and if I set a breakpoint in the
thread I get a SIGTRAP and the debugger stops working. 

If anyone knows how to get this working, please let me know. Thanks

I'll try to post the prebuilt chains somewhere within the next few days.

Frank Pagliughi





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> 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