21
General (but related to Code::Blocks) / Re: Building Codeblocks 25.03 using the Self-Hosting method
« Last post by ollydbg on June 04, 2025, 10:33:02 am »...
To conform to usual practice:
1. "-lexchndl.dll" should be changed to "-lexchndl" in the link command
...
I hope I am not wasting people's time on this.
Maybe "-lexchndl" command line option is better, because in this case, the linker can directly link to the dll file or .a file.
See:
WIN32(LD)
Quote
For instance, when ld is called with the argument '-lxxx' it will attempt to find, in the first directory of its search path,
libxxx.dll.a
xxx.dll.a
libxxx.a
xxx.lib
libxxx.lib
cygxxx.dll (*)
libxxx.dll
xxx.dll
before moving on to the next directory in the search path.