Open wangfandasha opened 1 year ago
my system is windows 10 and compile environment is cygwin
@zouboan did you get this issue on Windows?
@wangfandasha you can also use WSL on Windows 10, it is faster than Cygwin
@zouboan did you get this issue on Windows?
@wangfandasha you can also use WSL on Windows 10, it is faster than Cygwin
OK,now I install vmware and It run well.whenever,It's a little of troublesome.
@acassis Sorry,I haven't tried cygwin before
In the GCC command line, I see things like:
'-I' '/cygdrive/d/openSource/nuttx-git/apps/include'
What toolchain are you using? Is it a Windows native toolchain like ARM Embedded Toolchain? Or is it a custom toolchain built under Cygwin.
A Windows native toolchain cannot handle a POSIX path like that. It would want 'D:\openSource\nuttx-git\apps\inclde' instead.
The toolchain selection is controlled in the configuration. If you are building in Cygwin, you need to select the host: CONFIG_WINDOWS_CYGWIN . And if you are using a Windows native toolchain, you must select CONFIG_WINDOWS_NATIVE
If you build a GCC toolchain under Cygwin, the Cygwin works exactly like the a Linux build and that should work fine. The Cygwin build with the Windows native toolchain is much more complex due to all of the path modifications that are required by the tool.
You should be able to build any toolchain under Cygwin if you have the dependencies installed. One option is bitbucket.org/nuttx/buildroot but that is very old.
Might be related to #3799
@acassis Sorry,I haven't tried cygwin before
@zouboan are you using Msys / Msys2 ?
BTW, now with CMake I think real native build on Windows could be possible!
Hi: I have try the master branch and remotes/origin/releases/12.2 both get the rusult as following.When I use nuttx 2 years ago,it can run correctly.Is it a new problem or there is some thing I configure is not correct?It seems like that the cygwin pass the cygwin type path to the arm-none-eabi-gcc compiler,and the compiler can't find it.