Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » problem debugging theIde with theIde in Linux [BUG?]
Re: problem debugging theIde with theIde in Linux [message #1828 is a reply to message #1827] |
Tue, 21 March 2006 21:23   |
 |
mirek
Messages: 14267 Registered: November 2005
|
Ultimate Member |
|
|
hojtsy wrote on Tue, 21 March 2006 14:42 | After further experimenting it turned out that if I compile theIde 602 on Linux, it crashes in __atomic_add while attempting to start. The precompiled theIde 602 seems to run OK, except for some Assist & layout editor instabilities which I was trying to debug. It seems impossible to debug that instability if I am unable to compile a running theIde with DEBUG options (it crashed also when compiled for RELEASE). BTW there was multiple other problems with compiling theIde on Linux: #include <locale.h> seems to be missing (I added it) and I was only able to link shared, and not static, because some X library was missing.
I was able to get a backtrace of the crash by generating a core file, and opening with gdb, but not by running in theIde debugger. I don't have the backtrace with me now but I will post it in a day.
|
Well, unfortunately, various Linux distros differ.
On any I have checked so far, static linking is impossible due to missing "XFT" static version (I am afraid, that one simply does not exist... Therefore, never use "static" in Linux for GUI apps ("best results" are obtained by building "shared" with GCC 3.4.x - this produces binaries that run almost everywhere, and this is also how we produce Linux binary versions).
Mirek
|
|
|
Goto Forum:
Current Time: Wed Aug 27 19:43:06 CEST 2025
Total time taken to generate the page: 0.05799 seconds
|