[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[cdt-dev] Re: Debug cygwin projects needs to convert paths using cygpath
|
On 7/8/2010 9:06 PM, Dave Korn wrote:
> On 09/07/2010 01:31, 谢继雷 wrote:
>> CDT tries to open /mnt/c/myproject/src/file.c
>> but not the corresponding win32 path: C:\myproject\src\file.c
>
> Hi, there is a bug about this: please see
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=150372
>
> I've got an updated version of the patch that's attached there; I'll upload
> it in the next day or two once I've disentangled it from other changes I've
> been making, Cc yourself to the bug and you'll see it when I do.
Any further progress on the updated patch, Dave?
I'm running into a slightly different problem, but I think I could build
on your patch to address it...
I have a (managed build) project with a linked source folder like this:
my-proj
+ src -> ${ProjDirPath}/../../../../source/my-proj
The only problem is, since ProjDirPath resolves to a dos-style path, the
generated makefile includes X:\, which is a no-no with cygwin make.
So...somehow the managed builder needs to know, when IsCygwin, to
translate paths from dos style to cygwin style when generating the
makefile(s).
--
Chuck