summaryrefslogtreecommitdiff
path: root/nuttx/configs/skp16c26
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-02-07 20:43:04 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-02-07 20:43:04 +0000
commitf7c25fea4f64f0758812684a2ee3c2c4e99bb963 (patch)
tree4227058908256f4bb6ccb5cb226dd7cf519840b0 /nuttx/configs/skp16c26
parenta622d68241de0eeee45edd0a3cc09d3835c3671f (diff)
downloadpx4-nuttx-f7c25fea4f64f0758812684a2ee3c2c4e99bb963.tar.gz
px4-nuttx-f7c25fea4f64f0758812684a2ee3c2c4e99bb963.tar.bz2
px4-nuttx-f7c25fea4f64f0758812684a2ee3c2c4e99bb963.zip
Add instructions for building toolchain
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1479 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/skp16c26')
-rwxr-xr-xnuttx/configs/skp16c26/README.txt29
1 files changed, 29 insertions, 0 deletions
diff --git a/nuttx/configs/skp16c26/README.txt b/nuttx/configs/skp16c26/README.txt
index aefd25607..0db52e0f2 100755
--- a/nuttx/configs/skp16c26/README.txt
+++ b/nuttx/configs/skp16c26/README.txt
@@ -34,4 +34,33 @@ BUILDING THE R8C/M16C/M32C GNU TOOLCHAIN
This will download the large source packages for the toolchain and build the toolchain.
The resulting binaries will be under buildroot/build_m32c.
+
+Cygwin GCC BUILD NOTES
+^^^^^^^^^^^^^^^^^^^^^^
+ On Cygwin, the buildroot 'make' command will fail with an error like:
+
+ "...
+ build/genchecksum cc1-dummy > cc1-checksum.c
+ opening cc1-dummy: No such file or directory
+ ..."
+
+ This is caused because on Cygwin, host executables will be generated with the extension .exe
+ and, apparently, the make variable "exeext" is set incorrectly. A work around after the
+ above occurs is:
+
+ cd toolchain_build_m32c/gcc-4.2.4-initial/gcc # Go to the directory where error occurred
+ mv cc1-dummy.exe cc1-dummy # Rename the executable without .exe
+ rm cc1-checksum.c # Get rid of the bad generated file
+
+ Then resume the buildroot make:
+
+ cd - # Back to the buildroot make directory
+ make # Restart the build
+
+ GCC is built twice. First a initial, "bootstap" GCC is produced in
+ toolchain_build_m32c/gcc-4.2.4-initial, then the final GCC is produced in
+ toolchain_build_m32c/gcc-4.2.4-final. The above error will occur twice: Once for
+ the intial GCC build (see above) and once for the final GCC build. For the final GCC
+ build, the workaround is the same except that the directory will be toolchain_build_m32c/gcc-4.2.4-final/gcc.
+
\ No newline at end of file