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 @@ -2213,6 +2213,47 @@ avr, m68k, m68hc11, m68hc12, m9s12, blackfin, m32c, h8, and SuperH ports. + + + + Wine + GNU make + Windows Native Toolchain + + + +
+ +

+ I've never tried this one, but I off the following reported by an ez80 user using the ZiLOG ZDS-II Windows-native toolchain: +

+
+

+ "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 cygpath utility. + Wine provides similar thing called winepath which is compatible and offers compatible syntax. + To use that, winepath (which itself is a shell script) has to be copied as cygpath somewhere in $PATH, and edited as in following patch: +

+ +

+ "Better solution would be replacing all cygpath references in Makefiles with $(CONVPATH) (or ${CONVPATH} in shell scripts) and setting CONVPATH to cygpath or winepath regarding to currently used environment. +

+
+ + + diff --git a/nuttx/arch/rgmp/src/Makefile b/nuttx/arch/rgmp/src/Makefile index f8c2a0b12..c881e2d6d 100644 --- a/nuttx/arch/rgmp/src/Makefile +++ b/nuttx/arch/rgmp/src/Makefile @@ -50,7 +50,7 @@ LDFLAGS += -T$(RGMPLKSCPT) LDPATHS = $(addprefix -L$(TOPDIR)/,$(dir $(LINKLIBS))) LDLIBS = $(patsubst lib%,-l%,$(basename $(notdir $(LINKLIBS)))) LDPATHS += -L$(RGMPLIBDIR) -LDLIBS += -lrgmp -lm -ltest /usr/lib/gcc/$(shell gcc -dumpmachine)/$(shell gcc -dumpversion)/libgcc.a +LDLIBS += -lrgmp -lm -ltest $(shell gcc -print-libgcc-file-name) all: libarch$(LIBEXT) .PHONY: clean distclean depend