Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: whsmith on July 20, 2008, 02:42:27 am

Title: viewing actual compile/linker commands
Post by: whsmith on July 20, 2008, 02:42:27 am
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!
Title: Re: viewing actual compile/linker commands
Post by: TDragon on July 20, 2008, 05:20:16 am
Settings / Compiler and debugger / Other settings / Compiler logging -> Full command line