Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Why C::B strips the lib from the library in the linker options?

(1/1)

oBFusCATed:
Hi,

I've a test project which has a main app and one dynamic library.
The library is named lib1, so the resulting file is liblib1.so.
This library can't be linked, because C::B does some magic and removes the lib.
I know why it does it, but isn't this against the C::B's policy -> "never do something (magically) behind the back of the user"?

Can we remove this feature?

MortenMacFly:

--- Quote from: oBFusCATed on May 25, 2011, 06:21:27 pm ---Can we remove this feature?

--- End quote ---
No, as this is simply a mis-use of the prefix option in the project settings. ;-)

oBFusCATed:
What prefix option?

p.s. if you misuse something, it should bite you  :lol:
p.p.s. I've seen other people to suffer from this (I think)

MortenMacFly:

--- Quote from: oBFusCATed on May 26, 2011, 12:34:31 am ---What prefix option?

--- End quote ---
In the project options, on the same tab where you specify the output folder, file name... there are two checkboxes whether you want to automatically add the prefix.

However, I am not even sure if that made it already into the debugger's branch. Probably another merge is needed... I'll take care, but have to access to the repo at the moment. :(

oBFusCATed:

--- Quote from: MortenMacFly on May 26, 2011, 06:12:10 am ---In the project options, on the same tab where you specify the output folder, file name... there are two checkboxes whether you want to automatically add the prefix.

--- End quote ---
I don't see how this is related.
BTW, I was bitten again by this "feature" today on my real work project...


--- Quote from: MortenMacFly on May 26, 2011, 06:12:10 am ---However, I am not even sure if that made it already into the debugger's branch. Probably another merge is needed... I'll take care, but have to access to the repo at the moment. :(

--- End quote ---
There are some changes merged in... (I've two new text boxes with some $target_blabla in them)
BTW: Can you start a topic in the announcement subforum to describe the changes from the users point of view? (I'm not sure what is changed and what to expect).

Navigation

[0] Message Index

Go to full version