This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

(apparent) success building sh3eb toolchain


DISCLAIMER:  i don't have an SH3 board handy to actually test this,
but the build completed successfully if anyone wants to give this a
shot.

the combo and settings (note big-endian architecture):

  crosstool-0.30

  BINUTILS_DIR=binutils-2.15.96 (via tarball)
  GCC_DIR=gcc-4.1-20050327      (via snapshot tarball)
  GLIBC_DIR=glibc-20050402	(via CVS)
  LINUX_DIR=linux-2.6.8.1	(via tarball)
  GLIBCTHREADS_FILENAME=glibc-linuxthreads-20050402    (via CVS)
  EXTRA_TARGET_CFLAGS="-fno-unit-at-a-time"

  KERNELCONFIG=`pwd`/rday-sh3eb.config   (available on request)
  TARGET=sh3eb-unknown-linux-gnu
  TARGET_CFLAGS="-O -mb -m3"
  GLIBC_CONFIGPARMS="no-z-defs=yes"

patches carried forward:

  linux-2.6.8/kaz-types.patch
  glibc-2.3.4/make-install-lib-all.patch

and that's it.  the tail end of the build:

+
/home/rpjday/build/crosstool/sh3eb-unknown-linux-gnu/gcc-4.1-20050327-glibc-20050402/bin/sh3eb-unknown-linux-gnu-gcc
-static hello.c -o sh3eb-unknown-linux-gnu-hello-static
+
/home/rpjday/build/crosstool/sh3eb-unknown-linux-gnu/gcc-4.1-20050327-glibc-20050402/bin/sh3eb-unknown-linux-gnu-gcc
hello.c -o sh3eb-unknown-linux-gnu-hello
+ test -x
/home/rpjday/build/crosstool/sh3eb-unknown-linux-gnu/gcc-4.1-20050327-glibc-20050402/bin/sh3eb-unknown-linux-gnu-g++
+ cat
+
/home/rpjday/build/crosstool/sh3eb-unknown-linux-gnu/gcc-4.1-20050327-glibc-20050402/bin/sh3eb-unknown-linux-gnu-g++
-static hello2.cc -o sh3eb-unknown-linux-gnu-hello2-static
+
/home/rpjday/build/crosstool/sh3eb-unknown-linux-gnu/gcc-4.1-20050327-glibc-20050402/bin/sh3eb-unknown-linux-gnu-g++
hello2.cc -o sh3eb-unknown-linux-gnu-hello2
+ echo testhello: C compiler can in fact build a trivial program.
testhello: C compiler can in fact build a trivial program.
+ test '' = 1
+ test '' = 1
+ test 1 = ''
+ test '' = 1
+ echo Done.
Done.




rday

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]