crosstool-0.10: now supports m68k; sh4 c++ problem fixed

Dan Kegel dank@kegel.com
Mon Jun 23 04:51:00 GMT 2003


crosstool is a simple script to build gcc/glibc/linux cross toolchains.
See http://kegel.com/crosstool for download and details.

crosstool.sh now builds m68k toolchains, and the glibc/libstdc++
it builds for sh4 actually pass the brown paper bag test now.

It also has .dat files to try building x86_64 and hppa;
hppa might work if you apply the experimental patches (see the ChangeLog).

I'm getting close to having the script build a
chroot environment and remotely install it on the
target before running the dejagnu tests, but it's
not quite there yet.  I have verified that toolchains
build, but not that they run properly.

ChangeLog:

0.10: Added initial try at m68k, hppa, and x86_64 support.
      Fixed problem in libstdc++ for sh4, thanks to a patch from Dan Jacobowitz
      hppa might work if you enable the experimental patches; see
      glibc-2.3.2-patches/README-hppa.  I haven't tried them.

0.9: Added initial cris support.
      Fixed sh4 compile problem, thanks to a patch from Kaz Kojima

0.8: Added mips support.
      Added notes on how to run tests remotely with dejagnu (not finished).

0.7: Got arm building properly for gcc-3.2.3 and gcc-2.95.3
      Added ia64 support.  Started adding s390 support.
      Fixed HOST setting to make sense (thanks to Dan Jacobowitz for his
      assistance).
      Added speculative patch to fix config.sub so users running this
      script on s390 and cris don't fail in gcc configure.

0.6: Added sparc support.  Haven't actually run binaries compiled for sparc yet.
      Added arm support, but gcc-3.3 isn't building glibc-2.3.2
      (see http://gcc.gnu.org/PR11103), and I haven't tried the others yet.

0.5: Run 'make check' after building binutils, gcc, and glibc
      but only if DEJAGNU environment variable set.
      And since Dejagnu hates abbreviated target names, use names like xxx-yyy-linux-gnu
      Added initial alpha support

0.4: Add gcc-3.3-patches/{sh-predef-gnu_source,sh4-no-fix-protos}.patch
      to fix sh4 build for glibc-2.2.5.
      Fixed typo in glibc-2.3.2 support; it builds for ppc and x86 now.
      (sh4 build dies with "include/asm/user.h:32: error: redefinition of `struct
      user_fpu_struct'".)

0.3: add x86->x86 support
      This involved twiddling HOST in crosstool.sh to force cross-compiler even if HOST = TARGET.  Not sure this is a good idea yet.
      See <a href="http://gcc.gnu.org/ml/gcc-patches/2003-06/msg00246.html">related thread in gnu-patches</a>.

0.2: add glibc-2.3.2 support, move options from demo script into .dat files

0.1: Starting with Bill Gatliff's script, add framework for downloading
      and patching.

- Dan

-- 
Dan Kegel
http://www.kegel.com
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list