+++ /dev/null
-# Work in progress....\r
-#\r
-# CygWin hosted arm toolchain\r
-\r
-set -e\r
-rm -rf cygwin\r
-\r
-rm -rf gcc\r
-rm -rf gdb\r
-rm -rf binutils\r
-\r
-\r
-# here we need Linux hosted toolchain in the path\r
-export PATH=`pwd`/install/bin:`pwd`/cygwin/bin:$PATH\r
-\r
-mkdir cygwin\r
-\r
-mkdir gcc\r
-cd gcc\r
-../src/binutils/configure --host=i686-pc-cygwin --target=arm-elf --build=i686-pc-linux-gnu --prefix=`pwd`/../cygwin\r
-make\r
-make install\r
-cd ..\r
-\r
-mkdir gcc\r
-cd gcc\r
-../src/configure --target=arm-elf --enable-languages=c,c++ --with-gnu-as --with-gnu-ld --with-newlib --disable-shared --enable-newlib -v --enable-multilib --disable-threads --enable-sjlj-exceptions --enable-libstdcxx-allocator=malloc --host=i686-pc-cygwin --build=i686-pc-linux-gnu --prefix=`pwd`/../cygwin --disable-libssp\r
-make \r
-make install\r
-cd ..\r
-\r
-mkdir gdb\r
-cd gdb/\r
-../src/gdb/configure --host=i686-pc-cygwin --target=arm-elf --build=i686-pc-linux-gnu --prefix=`pwd`/../cygwin\r
-make\r
-make install\r
-cd ..\r
+++ /dev/null
-# Build cygwin hosted cortex arm toolchain under Linux\r
-\r
-set -e\r
-rm -rf gcc\r
-rm -rf binutils\r
-rm -rf gdb\r
-\r
-export PATH=`pwd`/install/bin:$PATH\r
-\r
-#set HOST_NAME=i386-mingw32msvc\r
-#set HOST_NAME=i686-pc-cygwin\r
-\r
-\r
-mkdir binutils\r
-cd binutils\r
-../src/binutils/configure --host=$HOST_NAME --target=arm-elf --prefix=`pwd`/../install\r
-make\r
-make install\r
-cd ..\r
-\r
-mkdir gcc\r
-cd gcc\r
-../src/gcc/configure --disable-libssp --target=arm-elf --enable-languages=c,c++ --with-gnu-as --with-gnu-ld --with-newlib --disable-shared --enable-newlib -v --disable-multilib --disable-threads --enable-sjlj-exceptions --enable-libstdcxx-allocator=malloc --prefix=`pwd`/../install --disable-libssp\r
-#../src/gcc/configure --target=arm-elf --enable-languages=c --with-gnu-as --with-gnu-ld --with-newlib --disable-shared --enable-newlib -v --disable-multilib --disable-threads --prefix=`pwd`/../install --disable-libssp\r
-make \r
-make install\r
-cd ..\r
-\r
-mkdir gdb\r
-cd gdb/\r
-../src/gdb/configure --target=arm-elf --prefix=`pwd`/../install\r
-make\r
-make install\r
-cd ..\r
+++ /dev/null
-Work-in-progress. Ignore for now.\r
-\r
-Some build scripts for GCC toolchains. Notably the\r
-Cortex CPUs require the very latest GCC version 4.3.x.\r
-\r
-These are to be considered working notes for testers and\r
-not a definitive source on how to build GCC toolchains.\r
-\r
-1. get latest binutils, gcc, gdb and newlib\r
-\r
-2. unzip source to src folder\r
-\r
-2. fix libstc++/configure.ac\r
-\r
-\r
-That works. After replacing AC_LIBTOOL_DLOPEN with\r
-\r
- if test "x${with_newlib}" != "xyes"; then\r
- AC_LIBTOOL_DLOPEN\r
- fi\r
-\r
-and running autoconf I was able to build six different newlib targets.\r
-\r
-http://gcc.gnu.org/ml/gcc/2008-03/msg00611.html\r
-\r
-3. place newlib and libgloss into src/gcc\r
-\r
-4. run cygwin.sh or linux.sh\r
-\r
-\r
-Resources:\r
-\r
-http://ecos.sourceware.org/build-toolchain.html\r
-\r
-\r
-Results:\r
-\r
-Build results from Zylin AS following the instructions above:\r
-\r
-http://www.zylin.com/cortex-gcc-linux.tar.bz2\r
-\r
-
\ No newline at end of file