Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Installation, Compiling and Running of theide » theide do not run under ubuntu 5.10
Re: theide do not run under ubuntu 5.10 [message #3377 is a reply to message #3365] Mon, 22 May 2006 14:58 Go to previous messageGo to previous message
guido is currently offline  guido
Messages: 169
Registered: April 2006
Experienced Member
luzr wrote on Sun, 21 May 2006 23:11

guido wrote on Sun, 21 May 2006 17:05


Why do you think that has anything to to with glibc?
Guido


Because stdlibc++ has to use glibc (new -> malloc etc..). I am not sure what will happen if I link static stdlibc++ v.5 with shared glibc v.6.

Moreover, there even is no swictch in GCC to do so - you can link with either static or dynamic standard library - and that covers both stdlibc++ and glibc.

Disclaimer: I really do know only a little about these affairs...
Means, please come on and start explaining Wink

Mirek


-Wl,-Bstatic -lstdc++ -> links against libstdc++.a
-Wl,-Bdynamic -lstdc++

This way you can switch between static and shared libs on a case by case basis. Note, that this linker option would be used for all libs that follow, so don't forget to switch back with -Wl,-Bdynamic

That glibc and libstdc++ are currently at soname 6 is incidental.
It doesn't imply any intrinsic relation. Mix and match at will!

Btw., the LSB 3.1 (Linux Standard Base), specifies libstdc++.so.6 for LSB compliant apps to link against.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: 605rc2 linux: 'upp' directory not found
Next Topic: upp-b605-dev1 compile error in PDFDraw
Goto Forum:
  


Current Time: Thu Apr 25 21:16:54 CEST 2024

Total time taken to generate the page: 0.04274 seconds