Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
target switching problem
killerbot:
there's a virtual target : All ==> which contains all the other targets.
So it is during a build of the "All" virtual target.
MortenMacFly:
--- Quote from: killerbot on March 12, 2012, 12:29:40 pm ---So it is during a build of the "All" virtual target.
--- End quote ---
Another guess: Do you use a "copied compiler" in this project? Meaning not a native one, but a compiler where you've made a copy from a native one?
MortenMacFly:
--- Quote from: MortenMacFly on March 12, 2012, 01:38:12 pm ---Another guess: Do you use a "copied compiler" in this project? Meaning not a native one, but a compiler where you've made a copy from a native one?
--- End quote ---
...an another one (sorry it comes that scattered):
Are you using global variable at all and if so, do you use a different than the "default" GV set?
killerbot:
copied compiler : yes ==> in the particular project I saw the issue no, but a project it depended on does, and that one was offcourse checked/build.
No global var.
However in the project files, there's stuff like this :
--- Code: --- <Target title="GnuDebug">
<Option output="../Deliv/$TARGET_NAME/lib${PROJECT_NAME}" prefix_auto="1" extension_auto="1" />
<Option working_dir="" />
<Option object_output="../Deliv/$TARGET_NAME" />
<Option type="2" />
<Option compiler="gcc" />
<Compiler>
<Add option="-g" />
</Compiler>
</Target>
--- End code ---
MortenMacFly:
--- Quote from: killerbot on March 12, 2012, 02:07:16 pm ---copied compiler : yes
--- End quote ---
This might be a key issue. For me it seems to happen only in projects where I have a 64 bit target. The compiler I use there is a copy of GCC, but pointing to the 64 bit compiler an having adjusted some compiler/linker flags.
Still: Sometimes it works, I only wonder if we can reproduce, if that's the active target... so the first target that would be compiled would use a copied compiler. I cannot try atm as I am on 32 bit, will do once I am at home.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version