TuononenP / llvm4eclipsecdt

LLVM toolchain support for Eclipse CDT. Now deprecated since it is build-in to Eclipse CDT via installation option. LLVM is a modular toolchain architecture that is used more and more in all kinds of computing platforms for it's certain benefits.
8 stars 0 forks source link

Cygwin expect POSIX style path #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
= Problem =
Cygwin prefers POSIX style path so instead of ..\src\test.c, Cygwin expects 
../src/test.c

= Eclipse error mesage on build =
**** Rebuild of configuration Debug for project test ****

**** Internal Builder is used for build               ****
clang -O0 -emit-llvm -g3 -Wall -c -fmessage-length=0 -o src\test.bc 
..\src\test.c
cygwin warning:
  MS-DOS style path detected: ..\src\test.c
  Preferred POSIX equivalent is: ../src/test.c
  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
In file included from ..\src\test.c:11:
In file included from /usr/include/stdio.h:45:
In file included from /usr/include/sys/reent.h:14:
/usr/include/sys/_types.h:72:5: error: unknown type name 'wint_t'
    wint_t __wch;
    ^
1 error generated.
Build error occurred, build is stopped
Time consumed: 2107  ms.  

Original issue reported on code.google.com by petri.tuononen@gmail.com on 29 Jan 2011 at 7:56

GoogleCodeExporter commented 9 years ago
Adding system environment variable CYGWIN with value nodosfilewarning=0 did 
seem to remove the path problem. However the build still fails on this error 
message:

**** Rebuild of configuration Debug for project test ****

**** Internal Builder is used for build               ****
clang -O0 -emit-llvm -g3 -Wall -c -fmessage-length=0 -o src\test.bc 
..\src\test.c
In file included from ..\src\test.c:11:
In file included from /usr/include/stdio.h:45:
In file included from /usr/include/sys/reent.h:14:
/usr/include/sys/_types.h:72:5: error: unknown type name 'wint_t'
    wint_t __wch;
    ^
1 error generated.
Build error occurred, build is stopped
Time consumed: 2296  ms.  

Original comment by petri.tuononen@gmail.com on 29 Jan 2011 at 8:18

GoogleCodeExporter commented 9 years ago
I close this issue as Done, because the original issue was solved without 
changes to source code and the comment 1 issue seems not to relate to LLVM 
plug-in code.

Original comment by petri.tuononen@gmail.com on 29 Jan 2011 at 1:53