SVN 3764, wx2.6.1
In a plugin I have to test the compiler that is active.
In an event handler I get the actual compiler's ID:
wxString compilerID;
... = CompilerFactory::GetCompiler(compilerID = target ? target->GetCompilerID() : project->GetCompilerID());
which I want to compare against the IDs of some fixed compilers:
#include "../plugins/compilergcc/compilerGNUTRICORE.h"
...
CompilerGNUTRICORE tricoreGcc;
wxString tricoreGccID = tricoreGcc.GetID();
I can build the plugin, but when I try to install it the CompilerGNUTRICORE class (or constructor) symbol cannot be found.
The symbol/code is present in ./src/plugins/compilergcc/.libs/compiler.so but not in the codeblocks.so* in the install directory.
So where can I get these compilers from?
I added the ./src/plugins/compilergcc/.libs/compiler.so explicitely to the plugin's link options. With that I can install the plugin but then C::B crashes *badly*.
What can I do about that?
I tried it under MS-Win but under Windows it does not work either.
There are complains that the compiler ID already exists (I wonder why the Compiler::GetID() is not static).
Do you have any ideas to cope with that?
Thanks.