User forums > Embedded development
About OpenOCD..
bigger:
--- Quote from: PaowZ on October 22, 2009, 07:25:22 pm ---Ok.. I retrieved C::B sources and got the file from SVN for openOCD.
I managed to compile everything (after getting wxScintilla which was not part of wxWidget sources, apparently..) except that it won't link the dynamic lib (the resulting plugin..)
[100.0%] Linking dynamic library: H:\_program files\CodeBlocks\src\devel\mcumgr.dll
ld.exe: unrecognized option '-Wl,--out-implib=H:/_program files/CodeBlocks/src/devel/libmcumgr.a'
ld.exe: use the --help option for usage information
Process terminated with status 1 (0 minutes, 8 seconds)
0 errors, 0 warnings
..it is said that some options are not recognized. I'm using the MingGCC linker (ld.exe)..
--- End quote ---
--- Quote ---Ok.. I got farther..
I successfully build C::B sources and so are the openOCD DLLs..
I'm close to get this think to work but I'm getting this message when I try to launch my freshly built C::B:
--- End quote ---
Hi PaowZ,
I got exactly the same error concerning ld.exe and the unrecognized option. Could you give me a clue on how you fixed this issue?
Thank you.
PaowZ:
--- Quote ---Could you give me a clue on how you fixed this issue?
--- End quote ---
Hi!
I had this issue when I tried to compile with a cross-compiler. Make sure your "GNU GCC Compiler" points to a valid x86 code compiler.
I just reset the C::B environment for a fresh install. If it doesn't help, try to remove the -Wl flag from Compiler and Debugger Settings/Other Settings/Advanced Options, choose "link object to dynamic library" in the dropdown and remove every -Wl flag..
bigger:
Thanks a lot PaowZ!
I gonna test it asap....
Navigation
[0] Message Index
[*] Previous page
Go to full version