CDT 4.0, Cygwin GCC, cygwin path problems. [message #191705] |
Wed, 23 May 2007 06:43 |
Eclipse User |
|
|
|
There was a broblem in CDT 3.1.2:
Sometimes winstyle paths (<disk_letter>:\) were happens in makefile. But all
paths must be converted to cygwin format (/cygdrive/<disk_letter>/)!
That bug still exists in CDT 4.0.
For examle:
If I add new directory to Include path or Lybrary path and choose filesystem
dialog then I can see in GUI something like that:
C:\Projects\shared\includes. It's ok. But if my file (for ex. foo.c)
includes file (for. ex shared.h placed in C:\Projects\shared\includes) then
foo.d generated with following dependency:
foo.d foo.o: ../foo.c \
C:\Projects\shared\includes\shared.h
Of couse there is "multiple target patterns" error here!
You can say correct your path in GUI to cygwin format manually. It's
inconvenient for me! Why must I think about it? Well, ok I can do it. But if
I choose workspace dialog and choose some include directory from the other
project I can see in GUI something like that:
${workspace_loc:/shared/includes}and that path still converted to winstyle
path in makefile and here I can't do anything!
CDT developers please check all places where paths take part in generating
makefiles and *.d files and if Cygwin GCC configuration is set convert them
to cygwin formats!
------
Sergey Gomanyuk.
|
|
|
Powered by
FUDForum. Page generated in 0.02674 seconds