LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 06-10-2005, 08:16 PM   #1
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: Slackware64 13.37, Kubuntu 10.04
Posts: 2,944

Rep: Reputation: Disabled
Recompile ALL shared libs?


I've been reading over the docs for gcc 4.0.0, and they say I sould rebuild all of my shared libs after the upgrade. Does this mean ALL of them, including the ones that came with my distro? That seems like a huge amount of work to set up the sources of all of the packages to build then put the libs in the correct places...
ta0kira
 
Old 06-11-2005, 04:18 AM   #2
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,782

Rep: Reputation: 52
In slackware it's a lot of work but it's not as much as you think.
All the source comes with Slackbuild scripts that will actually compile and pack the programs. in /tmp.
then you may reinstall the packages.
If you have 3-4 days spare time and a few Gbytes of free hard disk you may recompile your whole system, but as far as I remember gcc 4.0.0 has a lot of bugs and is not ready yet. It fails to compile KDE and many consider it as a beta release for the next 4.0 version. So be patient.
 
Old 06-11-2005, 06:33 AM   #3
Harmaa Kettu
Member
 
Registered: Apr 2005
Location: Finland
Posts: 196

Rep: Reputation: 30
Quote:
gcc 4.0.0 has a lot of bugs and is not ready yet. It fails to compile KDE and many consider it as a beta release for the next 4.0 version.
It also fails to compile itself with my defult optimzation settings (-O2 -march=k8 -frename-registers). It crashed with "internal consistency failure" while compiling libjava. Dropping optimization to -O1 helped.

If you want to experiment with it, install it with --prefix=/opt so it doesn't replace your stable compiler and libraries.
 
Old 06-13-2005, 12:49 AM   #4
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: Slackware64 13.37, Kubuntu 10.04
Posts: 2,944

Original Poster
Rep: Reputation: Disabled
Yeah, I've had a lot of problems compiling KDE with it. I installed gcc 4.0.0 in /usr/local and I left 3.3.4 in /usr just in case. But to gcc's credit, KDE sometimes has problems compiling if it knows there is already another KDE there; when I tried to compile with alsa support it gave me undefined references from my existing libs.
ta0kira
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FYI: shared libs and iostream (C++) ta0kira Programming 18 10-26-2007 06:48 AM
shared libs help spatula Linux - Software 3 12-14-2005 03:48 AM
chroot and shared libs not being found. netstv Linux - General 3 11-05-2004 11:36 AM
Qt Libs Static or Shared magicm Slackware 2 10-15-2003 05:05 AM
shared libs hanzerik Linux From Scratch 2 03-14-2002 01:08 PM


All times are GMT -5. The time now is 05:10 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration