User forums > Using Code::Blocks
codeblocks cross compiler MinGW and gdb
perosoft:
the ideea was to use codeblocks in windows for developing linux and windows aplications based on GTK++.
but without a reliable debugger for MinGW cross platform compiler i can't do that.
oBFusCATed:
--- Quote from: perosoft on February 23, 2011, 06:17:25 pm ---the ideea was to use codeblocks in windows for developing linux and windows aplications based on GTK++.
but without a reliable debugger for MinGW cross platform compiler i can't do that.
--- End quote ---
You mean linux in the bolded text aren't you?
You can debug most of the issues using the linux's debugger under linux and if there is a problem in windows (wine) use gdb from the command line inside wine.
But I'm pretty sure you'll need a real window install (VM or native) to do real testing or debugging.
perosoft:
yes, sorry for my mistake.
codeblocks for linux in linux.
for linux applications is a great tool.
i'm going to wait a good dbg in MinGW cross platform distribution.
until then i'm using openwatcon in wine for windows aplication.
is work fine, but is not working well with GTK++.
Jenna:
--- Quote from: perosoft on February 23, 2011, 06:47:36 pm ---yes, sorry for my mistake.
codeblocks for linux in linux.
for linux applications is a great tool.
i'm going to wait a good dbg in MinGW cross platform distribution.
until then i'm using openwatcon in wine for windows aplication.
is work fine, but is not working well with GTK++.
--- End quote ---
You can try this solution: http://wiki.codeblocks.org/index.php?title=Cross_Compiling_wxWidgets_Applications_on_Linux#Debugging .
It does not work perfectly, but it is worth a try.
oBFusCATed:
Jens: Does stopping the debugger works, I'm sure it doesn't, but wine could do some trickery and make it work.
Also I don't know how we could make C::B to use the win32 api function (DebugBreakProcess) needed to stop the debugger :(
Probably a standalone breaker + simple script ("wine cb_break_debug").
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version