sh-elf-gcc ------------------------------------------ GNU package gcc-3.3.5 recompiled for a cross-compilation system for the HITACHI SH1 processor (SH7032/SH7034 Product - SH7000 Series 32-Bit RISC Embedded Controller). Main usage is for the Rockbox project (see http://www.rockbox.org) a cool Open Source replacement firmware for the Archos Jukebox 5000, 6000, Studio, Recorder, FM Recorder and Recorder V2 MP3 players. Runtime requirements: cygwin-1.5.12 Build requirements: newlib-1.12.0.tar.gz + gcc-3.3.3 autoconf-2.59 automake-1.7.9 make-3.80 m4-1.4.2 binutils-20040725-2 gettext-0.14.1 sh-binutils-2.15 Canonical homepage: http://www.gnu.org/ Canonical download: http://ftp.gnu.org/gnu/gcc/gcc-3.3.5.tar.bz2 http://ftp.gnu.org/gnu/newlib/newlib-1.12.0.tar.gz ------------------------------------ Build instructions: unpack gcc-3.3.5.tar.bz2 unpack newlib-1.12.0.tar.gz cd gcc-3.3.4 ln -s ../newlib-1.12.0/newlib . export PATH=/opt/sh1/bin:$PATH cd .. mkdir build/sh-elf-gcc cd build/sh-elf-gcc CFLAGS="-O4" ../../../gcc-3.3.5/configure --target=sh-elf --prefix=/opt/sh1 --enable-languages=c --with-cpu=sh1 make Install instructions: # Get rid of newlib and libiberty cd sh-elf mv libiberty libiberty.unused mv newlib newlib.unused cd .. make install DESTDIR=/tmp/sh-elf-gcc cd ../../gcc-3.3.5 ./mkinstalldirs /tmp/sh-elf-gcc/opt/sh1/share/doc/Cygwin /usr/bin/install -c -m 644 sh-elf-gcc-3.3.5.README /tmp/sh-elf-gcc/opt/sh1/share/doc/Cygwin/sh-elf-gcc-3.3.5.README rmdir /tmp/sh-elf-gcc/opt/sh1/sh-elf/lib rmdir /tmp/sh-elf-gcc/opt/sh1/sh-elf ------------------------------------------- Files included in the binary distro ------------------ opt `-- sh1 |-- bin | |-- sh-elf-cpp.exe | |-- sh-elf-gcc-3.3.5 | |-- sh-elf-gcc.exe | |-- sh-elf-gccbug | `-- sh-elf-gcov.exe |-- include |-- info | |-- cpp.info | |-- cppinternals.info | |-- gcc.info | `-- gccint.info |-- lib | |-- gcc-lib | | `-- sh-elf | | `-- 3.3.5 | | |-- cc1.exe | | |-- collect2.exe | | |-- crt1.o | | |-- crtbegin.o | | |-- crtbeginS.o | | |-- crtend.o | | |-- crtendS.o | | |-- crti.o | | |-- crtn.o | | |-- include | | | |-- README | | | |-- fixed | | | |-- float.h | | | |-- iso646.h | | | |-- limits.h | | | |-- stdarg.h | | | |-- stdbool.h | | | |-- stddef.h | | | |-- syslimits.h | | | |-- unwind.h | | | `-- varargs.h | | |-- install-tools | | | |-- fix-header.exe | | | |-- fixinc.sh | | | |-- fixproto | | | |-- gsyslimits.h | | | |-- include | | | | |-- README | | | | |-- float.h | | | | |-- iso646.h | | | | |-- limits.h | | | | |-- stdarg.h | | | | |-- stdbool.h | | | | |-- stddef.h | | | | |-- unwind.h | | | | `-- varargs.h | | | |-- mkheaders | | | |-- mkheaders.conf | | | `-- mkinstalldirs | | |-- libgcc.a | | |-- m2 | | | |-- crt1.o | | | |-- crtbegin.o | | | |-- crtbeginS.o | | | |-- crtend.o | | | |-- crtendS.o | | | |-- crti.o | | | |-- crtn.o | | | `-- libgcc.a | | |-- m3e | | | |-- crt1.o | | | |-- crtbegin.o | | | |-- crtbeginS.o | | | |-- crtend.o | | | |-- crtendS.o | | | |-- crti.o | | | |-- crtn.o | | | `-- libgcc.a | | |-- m4 | | | |-- crt1.o | | | |-- crtbegin.o | | | |-- crtbeginS.o | | | |-- crtend.o | | | |-- crtendS.o | | | |-- crti.o | | | |-- crtn.o | | | `-- libgcc.a | | |-- m4-single | | | |-- crt1.o | | | |-- crtbegin.o | | | |-- crtbeginS.o | | | |-- crtend.o | | | |-- crtendS.o | | | |-- crti.o | | | |-- crtn.o | | | `-- libgcc.a | | |-- m4-single-only | | | |-- crt1.o | | | |-- crtbegin.o | | | |-- crtbeginS.o | | | |-- crtend.o | | | |-- crtendS.o | | | |-- crti.o | | | |-- crtn.o | | | `-- libgcc.a | | |-- ml | | | |-- m2 | | | | |-- crt1.o | | | | |-- crtbegin.o | | | | |-- crtbeginS.o | | | | |-- crtend.o | | | | |-- crtendS.o | | | | |-- crti.o | | | | |-- crtn.o | | | | `-- libgcc.a | | | |-- m3e | | | | |-- crt1.o | | | | |-- crtbegin.o | | | | |-- crtbeginS.o | | | | |-- crtend.o | | | | |-- crtendS.o | | | | |-- crti.o | | | | |-- crtn.o | | | | `-- libgcc.a | | | |-- m4 | | | | |-- crt1.o | | | | |-- crtbegin.o | | | | |-- crtbeginS.o | | | | |-- crtend.o | | | | |-- crtendS.o | | | | |-- crti.o | | | | |-- crtn.o | | | | `-- libgcc.a | | | |-- m4-single | | | | |-- crt1.o | | | | |-- crtbegin.o | | | | |-- crtbeginS.o | | | | |-- crtend.o | | | | |-- crtendS.o | | | | |-- crti.o | | | | |-- crtn.o | | | | `-- libgcc.a | | | `-- m4-single-only | | | |-- crt1.o | | | |-- crtbegin.o | | | |-- crtbeginS.o | | | |-- crtend.o | | | |-- crtendS.o | | | |-- crti.o | | | |-- crtn.o | | | `-- libgcc.a | | `-- specs | `-- libiberty.a |-- man | |-- man1 | | |-- cpp.1 | | |-- gcov.1 | | `-- sh-elf-gcc.1 | `-- man7 | |-- fsf-funding.7 | |-- gfdl.7 | `-- gpl.7 `-- share |-- doc | `-- Cygwin | `-- sh-elf-gcc-3.3.5.README `-- locale |-- be | `-- LC_MESSAGES | `-- gcc.mo |-- ca | `-- LC_MESSAGES | `-- gcc.mo |-- da | `-- LC_MESSAGES | `-- gcc.mo |-- de | `-- LC_MESSAGES | `-- gcc.mo |-- el | `-- LC_MESSAGES | `-- gcc.mo |-- es | `-- LC_MESSAGES | `-- gcc.mo |-- fr | `-- LC_MESSAGES | `-- gcc.mo |-- ja | `-- LC_MESSAGES | `-- gcc.mo |-- nl | `-- LC_MESSAGES | `-- gcc.mo |-- sv | `-- LC_MESSAGES | `-- gcc.mo `-- tr `-- LC_MESSAGES `-- gcc.mo Port Notes: ----- version 3.3.5-EL-1 ----- Renamed the Rockbox packages to sh-elf-<***> Newlib is mandatory see above 'Build instructions'. Generated from the original GNU package (not as it is done for sh-gcc-core.3.4.1-EL-2 which came from the cygwin package) and using the version of binutils generated from the GNU package ! Added the --with-cpu=sh1 option. ----- version 3.3.1-EL-1 ----- First release Cygwin port maintained by: Eric LASSAUGE http://lassauge.free.fr/cygwin/