summaryrefslogtreecommitdiff
path: root/testing/toolchain/readme.txt
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-04-26 07:38:36 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-04-26 07:38:36 +0000
commit1c50c0f3c7d220fc5a1c7a1b1d1dde53eaecd4e6 (patch)
tree949757401fad248c2def1f21fd28f73c2115066e /testing/toolchain/readme.txt
parent2fdb19e918792683f6388418e250fdf8414f2704 (diff)
downloadopenocd+libswd-1c50c0f3c7d220fc5a1c7a1b1d1dde53eaecd4e6.tar.gz
openocd+libswd-1c50c0f3c7d220fc5a1c7a1b1d1dde53eaecd4e6.tar.bz2
openocd+libswd-1c50c0f3c7d220fc5a1c7a1b1d1dde53eaecd4e6.tar.xz
openocd+libswd-1c50c0f3c7d220fc5a1c7a1b1d1dde53eaecd4e6.zip
wip instructions for building Cortex toolchain
git-svn-id: svn://svn.berlios.de/openocd/trunk@618 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'testing/toolchain/readme.txt')
-rw-r--r--testing/toolchain/readme.txt42
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/toolchain/readme.txt b/testing/toolchain/readme.txt
new file mode 100644
index 00000000..a3e21cbf
--- /dev/null
+++ b/testing/toolchain/readme.txt
@@ -0,0 +1,42 @@
+Work-in-progress. Ignore for now.
+
+Some build scripts for GCC toolchains. Notably the
+Cortex CPUs require the very latest GCC version 4.3.x.
+
+These are to be considered working notes for testers and
+not a definitive source on how to build GCC toolchains.
+
+1. get latest binutils, gcc, gdb and newlib
+
+2. unzip source to src folder
+
+2. fix libstc++/configure.ac
+
+
+That works. After replacing AC_LIBTOOL_DLOPEN with
+
+ if test "x${with_newlib}" != "xyes"; then
+ AC_LIBTOOL_DLOPEN
+ fi
+
+and running autoconf I was able to build six different newlib targets.
+
+http://gcc.gnu.org/ml/gcc/2008-03/msg00611.html
+
+3. place newlib and libgloss into src/gcc
+
+4. run cygwin.sh or linux.sh
+
+
+Resources:
+
+http://ecos.sourceware.org/build-toolchain.html
+
+
+Results:
+
+Build results from Zylin AS following the instructions above:
+
+http://www.zylin.com/cortex-gcc-linux.tar.bz2
+
+ \ No newline at end of file