Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » cygwin debugger path mapping
cygwin debugger path mapping [message #208836] Wed, 30 January 2008 04:42 Go to next message
Eclipse UserFriend
Originally posted by: hilal.arslan.bte.mam.gov.tr

I've been using cygwin for my c++ projects in eclipse. When I try to debug
it says
Warning: /cygdrive/c/workspace/nnn/src: No such file or directory

I've installed cygwin on d: drive
and when I write mount on the cygwin bash below is the output.
$ mount
D\cygwin\bin on /usr/bin type system (binmode)
D\cygwin\lib on /usr/lib type system (binmode)
D\cygwin on / type system (binmode)
D\tmp on / type system (binmode)
c: on /cygdrive/c type system (binmode,noumount)
d: on /cygdrive/d type system (binmode,noumount)
e: on /cygdrive/e type system (binmode,noumount)
k: on /cygdrive/k type system (binmode,noumount)
m: on /cygdrive/m type system (binmode,noumount)
o: on /cygdrive/o type system (binmode,noumount)

and when I open the bash
it prompts me from
c:\Documents And Settings\hilal

I've searched on internet and saw path mappings
From the source look up path
I added a path mapping.(My eclipse workspace is c:\workspace)
\\cygdrive\c-c:\
it didn't work
\\cygdrive\c\workspace\nnn\src-c:\workspace\nnn\src
it didn't work either.

can u help me with this?
Re: cygwin debugger path mapping [message #208870 is a reply to message #208836] Wed, 30 January 2008 09:14 Go to previous messageGo to next message
Eclipse UserFriend
Hi Hilal,

This might not be a direct solution but you might try to use mingw32 if
you don't have to use cygwin.

Cheers,
Burak

Hilal wrote:
> I've been using cygwin for my c++ projects in eclipse. When I try to
> debug it says
> Warning: /cygdrive/c/workspace/nnn/src: No such file or directory
>
> I've installed cygwin on d: drive
> and when I write mount on the cygwin bash below is the output.
> $ mount
> D\cygwin\bin on /usr/bin type system (binmode)
> D\cygwin\lib on /usr/lib type system (binmode)
> D\cygwin on / type system (binmode)
> D\tmp on / type system (binmode)
> c: on /cygdrive/c type system (binmode,noumount)
> d: on /cygdrive/d type system (binmode,noumount)
> e: on /cygdrive/e type system (binmode,noumount)
> k: on /cygdrive/k type system (binmode,noumount)
> m: on /cygdrive/m type system (binmode,noumount)
> o: on /cygdrive/o type system (binmode,noumount)
>
> and when I open the bash
> it prompts me from c:\Documents And Settings\hilal
>
> I've searched on internet and saw path mappings
> From the source look up path I added a path mapping.(My eclipse
> workspace is c:\workspace)
> \\cygdrive\c-c:\
> it didn't work
> \\cygdrive\c\workspace\nnn\src-c:\workspace\nnn\src
> it didn't work either.
>
> can u help me with this?
>
>
>
>
Re: cygwin debugger path mapping [message #209058 is a reply to message #208836] Sun, 03 February 2008 06:19 Go to previous message
Eclipse UserFriend
Instead of \\cygdrive\c try \cygdrive\c\

"Hilal" <hilal.arslan@bte.mam.gov.tr> wrote in message
news:073550c29a75909c5f60eb718b9a0b72$1@www.eclipse.org...
> I've been using cygwin for my c++ projects in eclipse. When I try to debug
> it says
> Warning: /cygdrive/c/workspace/nnn/src: No such file or directory
>
> I've installed cygwin on d: drive
> and when I write mount on the cygwin bash below is the output.
> $ mount
> D\cygwin\bin on /usr/bin type system (binmode)
> D\cygwin\lib on /usr/lib type system (binmode)
> D\cygwin on / type system (binmode)
> D\tmp on / type system (binmode)
> c: on /cygdrive/c type system (binmode,noumount)
> d: on /cygdrive/d type system (binmode,noumount)
> e: on /cygdrive/e type system (binmode,noumount)
> k: on /cygdrive/k type system (binmode,noumount)
> m: on /cygdrive/m type system (binmode,noumount)
> o: on /cygdrive/o type system (binmode,noumount)
>
> and when I open the bash
> it prompts me from c:\Documents And Settings\hilal
>
> I've searched on internet and saw path mappings
> From the source look up path I added a path mapping.(My eclipse workspace
> is c:\workspace)
> \\cygdrive\c-c:\
> it didn't work
> \\cygdrive\c\workspace\nnn\src-c:\workspace\nnn\src
> it didn't work either.
>
> can u help me with this?
>
>
>
>
Previous Topic:Managed C++ Projects: figments of my imagination?
Next Topic:"Project" containing several libs and one executable
Goto Forum:
  


Current Time: Tue Jul 22 13:05:56 EDT 2025

Powered by FUDForum. Page generated in 0.03760 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top