Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Option to select the linker - auto detect mode
oBFusCATed:
This is soon going in trunk/master. Any final comments or thoughts? 8)
sodev:
Will complain if it breaks my projects after it went into trunk :). Im currently just too busy/lazy to checkout a second copy for testing, im just waiting for an updated svn ;).
oBFusCATed:
In svn, lets see who is going to complain, because I've broken something. 8)
manuelS:
I just switched my codeblocks version from 13.12 to 20.03 and I found that some of my old projects don't link anymore.
I studied the Build log, and found that the linker command changed from "tricore-g++" to "tricore-gcc". My compiler command in these cases is always "tricore-gcc". Then I found a new option under "Project"->"Build options.."->"Linker Settings" - "Linker executable".
When I change that from "Auto detect" to "Use C++ compiler", the program links fine.
Is there something wrong with the "Auto detect"? It would be cool if I didn't have to change the "Linker executable" option on all my old projects, because I have a couple of them.
oBFusCATed:
Why do you need a C++ linker in the first place?
Are you linking to a C++ static library?
What are the linker errors you have?
Have you done a full rebuild of all dependent libraries (they might be C only but still use the C++ linker, which means they are not C++ libs)?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version