Author Topic: viewing actual compile/linker commands  (Read 3264 times)

whsmith

  • Guest
viewing actual compile/linker commands
« 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!

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: viewing actual compile/linker commands
« Reply #1 on: July 20, 2008, 05:20:16 am »
Settings / Compiler and debugger / Other settings / Compiler logging -> Full command line
https://jmeubank.github.io/tdm-gcc/ - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)