MS-DOS style path detected: C:\wcs\eclipse\pcm51_io_to_mb_app\code\appl
Preferred POSIX equivalent is: /cygdrive/c/wcs/eclipse/pcm51_io_to_mb_app/code/appl
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
Run this command:
set CYGWIN=nodosfilewarning
Blog about development of embedded software for devices, the process of making it and the tools involved.
Showing posts with label Cygwin. Show all posts
Showing posts with label Cygwin. Show all posts
2010-08-30
2010-06-10
test -s
The test -s command behaves a bit different on Cygwin and Linux. In Linux it can be OK to use test -s to test for a directory, because it size if different from 0. But in Cygwin the test fails because directories in Cygwin have the size 0.
2010-05-16
Problem calling rake from Cygwin
I can't call my mingw installed (from rubyinstaller) rake and gem from cygwin. See the output below:
sh-3.2$ ruby -v
ruby 1.8.7 (2010-01-10 patchlevel 249) [i386-mingw32]
sh-3.2$ gem --version
C:\Ruby\bin\ruby.exe: No such file or directory -- /cygdrive/c/Ruby/bin/gem (LoadError)
sh-3.2$ rake --version
C:\Ruby\bin\ruby.exe: No such file or directory -- /cygdrive/c/Ruby/bin/rake (LoadError)
The only help I have been able to find is this comment . Which states that I should use rake.bat and gem.bat instead.
sh-3.2$ rake.bat --version
rake, version 0.8.7
sh-3.2$ gem.bat --version
1.3.5
:-( This makes it a bit complicated to call rake from a makefile.
sh-3.2$ ruby -v
ruby 1.8.7 (2010-01-10 patchlevel 249) [i386-mingw32]
sh-3.2$ gem --version
C:\Ruby\bin\ruby.exe: No such file or directory -- /cygdrive/c/Ruby/bin/gem (LoadError)
sh-3.2$ rake --version
C:\Ruby\bin\ruby.exe: No such file or directory -- /cygdrive/c/Ruby/bin/rake (LoadError)
The only help I have been able to find is this comment . Which states that I should use rake.bat and gem.bat instead.
sh-3.2$ rake.bat --version
rake, version 0.8.7
sh-3.2$ gem.bat --version
1.3.5
:-( This makes it a bit complicated to call rake from a makefile.
2010-05-15
Cygwin gcc "access denied"
cygwin gcc outputs "access denied" then called from cmd.exe. The reason for the problem is described in this post. Basically it because cygwin uses symbolic links for configuration of gcc to point at gcc-3.exe or gcc-4.exe and windows don't understand symbolic links. So I will have to replace my calls to gcc.exe with gcc-4.exe to make it work from cmd.exe.
Subscribe to:
Posts (Atom)