diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-10-08 12:33:31 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-10-08 12:33:31 +0000 |
commit | d68c99694c093c788a64d5fc3437fd7a261827fa (patch) | |
tree | 1e8d6283d41a753434961fad0a12a32b69c99da6 /nuttx/README.txt | |
parent | c7a2e77ad2817188936b6538d0b4b5ddef65d36a (diff) | |
download | px4-nuttx-d68c99694c093c788a64d5fc3437fd7a261827fa.tar.gz px4-nuttx-d68c99694c093c788a64d5fc3437fd7a261827fa.tar.bz2 px4-nuttx-d68c99694c093c788a64d5fc3437fd7a261827fa.zip |
Add Cygwin build note
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2979 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/README.txt')
-rwxr-xr-x | nuttx/README.txt | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/nuttx/README.txt b/nuttx/README.txt index 6e0a6c0d3..76d2c7911 100755 --- a/nuttx/README.txt +++ b/nuttx/README.txt @@ -99,6 +99,31 @@ At least one configuration (eagle100) requires additional command line arguments on the make command. Read ${TOPDIR}/configs/<board-name>/README.txt to see if that applies to your target. +CYGWIN BUILD PROBLEMS +^^^^^^^^^^^^^^^^^^^^^ + +If you see strange behaviour when building under Cygwin then you may have +a problem with your PATH variable. For example, if you see failures to +locate files that are clearly present, then may mean that you are using +the wrong version of a tool. For example, you may not be using Cywgin's +'make' program at /usr/bin/make. Try: + + $ which make + /usr/bin/make + +When you install some toolchains (such as Yargarto or CodeSourcery tools), +they may modify your PATH variable to include a path to their binaries. +At that location, they make have GNUWin32 versions of the tools. So you +might actually be using a version of make that does not understand Cygwin +pathes. + +The solution is either: + +1. Edit your PATH to remove the path to the GNUWin32 tools, or +2. Put /usr/local/bin, /usr/bin, and /bin at the front of your path: + + $ export PATH=/usr/local/bin:/usr/bin:/bin:$PATH + DOCUMENTATION ^^^^^^^^^^^^^ @@ -134,6 +159,8 @@ Below is a guide to the available README files in the NuttX source tree: | | `- z80/README.txt | `- README.txt |- configs/ + | |- avr32dev1/ + | | `- README.txt | |- c5471evm/ | | |- include/README.txt | | |- src/README.txt @@ -164,6 +191,8 @@ Below is a guide to the available README files in the NuttX source tree: | |- m68332evb/ | | |- include/README.txt | | `- src/README.txt + | |- mbed/ + | | `- README.txt | |- mcu123-lpc214x/ | | |- include/README.txt | | |- src/README.txt |