News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

viewing actual compile/linker commands

Started by whsmith, July 20, 2008, 02:42:27 AM

Previous topic - Next topic

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
[url="https://jmeubank.github.io/tdm-gcc/"]https://jmeubank.github.io/tdm-gcc/[/url] - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)