User forums > Using Code::Blocks

viewing actual compile/linker commands

(1/1)

whsmith:
Hi,
I'm getting some linker errors that I don't think should be happening based on my project/target settings.  The error says that ld can't find a lib.  This is due to the fact that the lib is not in a normal location.  I've set a search path for the linker to look in this location to no avail.  The only way I can debug this issue is to see exactly what arguments Code::Blocks is feeding to ld.  I've searched and searched but haven't found any way to do this.  Any ideas?

I'm looking for some kind of window that will show something like

/usr/bin/ld <object file list> -Lpath/to/libs -lmylib

thanks!

TDragon:
Settings / Compiler and debugger / Other settings / Compiler logging -> Full command line

Navigation

[0] Message Index

Go to full version