Code::Blocks Forums
User forums => Help => Topic started by: Fred on August 16, 2008, 08:32:16 pm
-
Hello, i am trying to figure out where C::B set this flag "-J" when it calls gdb.exe, ive gone trough
all possible dialog screens and cant find where it get this from...
-------------- Build: Debug in WxTest ---------------
Compiling: resource.rc
gdb.exe: unrecognized option `-J'
Use `gdb.exe --help' for a complete list of options.
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
Best regards, Fred
-
Please send full commandline:
Switch "Settings->Compiler & Debugger->tab "Other" (rightmost tab)->Compiler logging" to "Full command line" and do a rebuild.
Which version of C::B ?
Which OS ? (I guess Win ?)
-
I use latest nightly build under windows vista, stock mingw that came with the installer of CB 8.02.
Here is a more detailed log.
-------------- Build: Debug in WxTest ---------------
mingw32-g++.exe -pipe -mthreads -D__GNUWIN32__ -D__WXMSW__ -DWXUSINGDLL -Wall -g -D__WXDEBUG__ -IC:\SourceCode\Libraries\wxWidgets2.8\include -IC:\SourceCode\Libraries\wxWidgets2.8\contrib\include -I..\..\SourceCode\Libraries\wxWidgets2.8\lib\vc_dll\mswd -IC:\wxWidgets-2.8.8\include -c "C:\CodeBlocks Projects\WxTest\WxTestMain.cpp" -o obj\Debug\WxTestMain.o
gdb.exe -i C:\CODEBL~2\WxTest\resource.rc -J rc -o obj\Debug\resource.res -O coff -IC:\SourceCode\Libraries\wxWidgets2.8\include -IC:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_dll\mswd
gdb.exe: unrecognized option `-J'
Use `gdb.exe --help' for a complete list of options.
Process terminated with status 1 (0 minutes, 1 seconds)
0 errors, 0 warnings
-
It looks like your toolchain is broken.
Please have a look in "Settings -> Compiler and debugger -> Global compiler settings -> Toolchain executables"
It seems that you have entered "gdb.exe" as Resource compiler.
-
Yep you are absolutely right, i made the mistake of putting gdb.exe in as the resource compiler....
Thanks for your help