|
|
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Cannot enable dynamic (Shared libs) building for release configurations on Linux
Cannot enable dynamic (Shared libs) building for release configurations on Linux [message #15919] |
Fri, 16 May 2008 04:14 |
Novo
Messages: 1358 Registered: December 2006
|
Ultimate Contributor |
|
|
RELEASE_LINKMODE is set to 1 in the "bm" file. Everything is fine in the debug configuration. Everything looks correctly except it doesn't work as expected. I have this problem at work and at home. There was no problem at home before I reinstalled Ubuntu. (8.04 didn't work for me, so I reinstalled 7.10 back). So, now I do not have officially built version of TheIDE installed either at home or at work, and I have this problem instead.
I've tried to debug TheIDE. I found several places where "bm" files are read. Unfortunately I couldn't find a place where values of Ide::release are assigned. At least I couldn't stop there in debugger.
Does anybody have any idea?
TIA
Regards,
Novo
|
|
|
|
|
|
|
|
Re: Cannot enable dynamic (Shared libs) building for release configurations on Linux [message #15934 is a reply to message #15932] |
Mon, 19 May 2008 05:21 |
Novo
Messages: 1358 Registered: December 2006
|
Ultimate Contributor |
|
|
You've mentioned earlier about setting RELEASE_LINKMODE="1" in GCC.bm but Ide::SetupDefaultMethod() reads release.linkmode from RELEASE_SO.
I couldn't make TheIDE stop either in Ide::SetupDefaultMethod (release.linkmode = atoi(map.Get("RELEASE_LINKMODE", "0"))) or in OutMode::Preset(), where RELEASE_LINKMODE is read.
I have no ideas where else RELEASE_LINKMODE can be processed. Serialized configuration files for a workspace store release.linkmode = 0. User interface displays correct values from GCC.bm. GCC.bm is read from ~/.upp/ide. I traced that.
BTW. "Default debug info level" also seems to be ignored by the linker. I wasn't able to get debug information till I added "-g2" to the "Debug options".
Something is definitely wrong ...
Regards,
Novo
[Updated on: Mon, 19 May 2008 05:57] Report message to a moderator
|
|
|
|
|
Goto Forum:
Current Time: Sun Apr 28 14:27:29 CEST 2024
Total time taken to generate the page: 0.57331 seconds
|
|
|