Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Contributions to C::B => Topic started by: Borneq on August 07, 2014, 03:01:40 pm

Title: How debug Code::Block?
Post by: Borneq on August 07, 2014, 03:01:40 pm
How compile Code::Block under Code::Block with debugging? Fresh source I first must get from SVN? Is any instruction step by step how do it?
Title: Re: How debug Code::Block?
Post by: ollydbg on August 07, 2014, 03:39:59 pm
Please read this: Developer documentation - CodeBlocks (http://wiki.codeblocks.org/index.php?title=Developer_documentation)
Especially this: Windows (http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Windows)
Title: Re: How debug Code::Block?
Post by: Borneq on August 07, 2014, 04:34:41 pm
I try compile according to http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Windows (http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Windows). Compilation
Code
c:\wxMSW-2.8.12\build\msw>mingw32-make -f makefile.gcc SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1
fails with
Code
mingw32-make: *** [gcc_mswudll\monodll_dummy.o] Error 255
Next I try compile d:\svnproj\codeblock\src\CodeBlocks.cbp
is error:
Code
||=== Build: tinyXML in Code::Blocks wx2.8.x (compiler: GNU GCC Compiler) ===|
||unrecognized command line option "-iquote.objs\include"|
||=== Build failed: 1 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|
Title: Re: How debug Code::Block?
Post by: stahta01 on August 07, 2014, 04:49:49 pm
Typical information needed.

OS Name?
Compiler name and version?

Edit: Link to WxWindowsQuickRef http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef#Build_wxWidgets (http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef#Build_wxWidgets)

Tim S.
Title: Re: How debug Code::Block?
Post by: Borneq on August 07, 2014, 07:53:36 pm
Windows 8.1
Coe:Blocks cvn 9790
gcc (GCC) 3.4.2 (mingw-special)
Title: Re: How debug Code::Block?
Post by: stahta01 on August 07, 2014, 08:11:42 pm
Windows 8.1
Coe:Blocks cvn 9790
gcc (GCC) 3.4.2 (mingw-special)


It is very unlikely that version of MinGW GCC will work under Windows 8.1.

Till "gcc version 3.4.5 (mingw-vista special r3)" it has issues working under Windows Vista/7.

Tim S.