summaryrefslogtreecommitdiff
path: root/nuttx/Documentation/NuttX.html
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-06-23 12:32:20 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-06-23 12:32:20 +0000
commitc58bb377193ed015d976cdd281158f9260fb6934 (patch)
treef723342b9e79487ceb8a9bce82dc81b4c4bfe91f /nuttx/Documentation/NuttX.html
parent3fe8e9c7ef441e2a92e39e9521e690d15af2c75a (diff)
downloadpx4-nuttx-c58bb377193ed015d976cdd281158f9260fb6934.tar.gz
px4-nuttx-c58bb377193ed015d976cdd281158f9260fb6934.tar.bz2
px4-nuttx-c58bb377193ed015d976cdd281158f9260fb6934.zip
RGMP build patches from Yu Qiang
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3735 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/Documentation/NuttX.html')
-rw-r--r--nuttx/Documentation/NuttX.html41
1 files changed, 41 insertions, 0 deletions
diff --git a/nuttx/Documentation/NuttX.html b/nuttx/Documentation/NuttX.html
index 01c8937cb..2d491f8c6 100644
--- a/nuttx/Documentation/NuttX.html
+++ b/nuttx/Documentation/NuttX.html
@@ -2216,6 +2216,47 @@ avr, m68k, m68hc11, m68hc12, m9s12, blackfin, m32c, h8, and SuperH ports.</block
<tr>
<td valign="top"><img height="20" width="20" src="favicon.ico"></td>
<td bgcolor="#5eaee1">
+ <b>Wine + GNU <code>make</code> + Windows Native Toolchain</b>
+ </td>
+</tr>
+<tr>
+ <td><br></td>
+ <td>
+ <p>
+ I've never tried this one, but I off the following reported by an ez80 user using the ZiLOG ZDS-II Windows-native toolchain:
+ </p>
+ <blockquote>
+ <p>
+ &quot;I've installed ZDS-II 5.1.1 (IDE for ez80-based boards) on wine (windows emulator for UNIX) and to my surprise, not many changes were needed to make SVN snapshot of Nuttx buildable...
+ I've tried nsh profile and build process completed successfully.
+ One remark is necessary: Nuttx makefiles for ez80 are referencing <code>cygpath</code> utility.
+ Wine provides similar thing called <code>winepath</code> which is compatible and offers compatible syntax.
+ To use that, <code>winepath</code> (which itself is a shell script) has to be copied as <code>cygpath</code> somewhere in <code>$PATH</code>, and edited as in following patch:
+ </p>
+ <ul><pre>
+# diff -u `which winepath` `which cygpath`
+--- /usr/bin/winepath 2011-05-02 16:00:40.000000000 +0200
++++ /usr/bin/cygpath 2011-06-22 20:57:27.199351255 +0200
+@@ -20,7 +20,7 @@
+#
+
+# determine the app Winelib library name
+-appname=`basename "$0" .exe`.exe
++appname=winepath.exe
+
+# first try explicit WINELOADER
+if [ -x "$WINELOADER" ]; then exec "$WINELOADER" "$appname" "$@"; fi
+</pre></ul>
+ <p>
+ &quot;Better solution would be replacing all <code>cygpath</code> references in <code>Makefiles </code> with <code>$(CONVPATH)</code> (or <code>${CONVPATH}</code> in shell scripts) and setting <code>CONVPATH</code> to <code>cygpath</code> or <code>winepath</code> regarding to currently used environment.
+ </p>
+ </blockquote>
+ </td>
+</tr>
+
+<tr>
+ <td valign="top"><img height="20" width="20" src="favicon.ico"></td>
+ <td bgcolor="#5eaee1">
<b>Other Environments?
Windows Native <code>make</code> + Windows Native Toolchain?</b>
</td>