On Fri, Nov 30, 2007 at 06:14:05PM -0800, Rick Mann wrote: > I've looked at several archive messages, and many OLD instructions, > and I still can't quite figure out how to do a combined build of GCC > targeting xscale-elf. > > I need to do this from release tars. I downloaded gcc-4.2.1, > binutils-2.18, and newlib-1.15. First, read <URL:http://gcc.gnu.org/ml/gcc-help/2007-06/msg00230.html>. When running the "ln -s" commands, you want to start with the newest of the packages; perhaps check the file "configure" in each package, because the packages gcc, binutils, newlib, gdb, etc. keep the common files and directories in sync. In this particular case, I think the order should be binutils-2.18, gcc-4.2.1 and newlib-1.15. > It ran for a while, then got into a seemingly endless series of > messages like this: > > >Fatal configuration error. See the libtool docs for more information. > >: ltconfig version `' does not match ltmain.sh version `1.4a-GCC3.0' The files related to libtool were upgraded between binutils-2.17 and binutils-2.18, but the change first appears in GCC in 4.3.0 (which has not been released yet). You may have to try with binutils-2.17 instead. Alternatively, use a GCC 4.3 snapshot. If none of the above works or you're desparate enough to get the combination of binutils-2.18, gcc-4.2.1 and newlib-1.15 working, it is necessary to use the libtool version from gcc-4.2.1 and the libiberty version from binutils-2.18. I.e. ... $ mkdir combined $ cd combined $ ln -s ../gcc-4.2.1/* . $ rm libiberty include $ ln -s ../binutils-2.18/* . $ ln -s ../newlib-1.15.0/* . ... -- Rask Ingemann Lambertsen Danish law requires addresses in e-mail to be logged and stored for a year