User forums > Using Code::Blocks

GDB (cygwin-special) Warning: /cygdrive/... No such file or directory

<< < (4/6) > >>

MortenMacFly:

--- Quote from: oBFusCATed on January 28, 2012, 10:15:42 am ---Here is the patch: http://forums.codeblocks.org/index.php/topic,15136.msg106378.html#msg106378
If it works, I'm OK to commit it.

--- End quote ---
Notice that there is a way newer version in the patch tracker. Please do not apply this one.

oBFusCATed:
Morten:
Link?
I see only the patch for the compiler in there.
Also the patch is definitely incomplete.
Because every place a path is sent to GDB should be made to understand cygwin paths.

Maybe I've to spend some time installing cygwin.
Do you know easy step by step instructions to get me going?

DynV:

--- Quote from: oBFusCATed on January 28, 2012, 11:00:19 pm ---Do you know easy step by step instructions to get me going?

--- End quote ---

Installing gcc with Cygwin

Installing CYGWIN with gcc compiler

The video is in reality 1:38 because you will want to skip from 1:20 to 3:20, slicing off 2 minutes.

NO MORE EXCUSES! ;D

oBFusCATed:

--- Quote from: DynV on January 28, 2012, 11:56:26 pm ---NO MORE EXCUSES! ;D

--- End quote ---
I have one really strong excuse:

--- Code: ---$ uptime
 01:04:23 up 31 days,  5:40,  3 users,  load average: 0,86, 0,74, 0,62

--- End code ---

MortenMacFly:

--- Quote from: oBFusCATed on January 28, 2012, 11:00:19 pm ---Link?
I see only the patch for the compiler in there.

--- End quote ---
Ooops - you are right. Forget about this.


--- Quote from: oBFusCATed on January 28, 2012, 11:00:19 pm ---Also the patch is definitely incomplete.
Because every place a path is sent to GDB should be made to understand cygwin paths.

--- End quote ---
That is definitely true, for the debugger this applies, but also for the editor for example (jump to functions etc...) and also for CC. :-( The /cygdrive stuff will always be there, so a new SDK function to convert Cygwin->OS and OS->Cygwin is needed. Something like "UnixFile".

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version