LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-22-2004, 03:49 AM   #1
ugenn
Member
 
Registered: Apr 2002
Posts: 549

Rep: Reputation: 30
gcc 3.4.0 released


I'm in the middle of building this new compiler. Anyone here tried it and would like to share your experience? Does it break building of existing packages?
 
Old 04-22-2004, 04:32 AM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Some. glib-1.2.10 and gnome-terminal-2.6.0 were the only ones that mattered to me. Also it doesn't create the same shared libraries so some things that were compiled against older versions of gcc will not run unless the shared libraries are kept around for compatibility
 
Old 04-22-2004, 04:46 AM   #3
ugenn
Member
 
Registered: Apr 2002
Posts: 549

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Andrew Benton
Some. glib-1.2.10 and gnome-terminal-2.6.0 were the only ones that mattered to me. Also it doesn't create the same shared libraries so some things that were compiled against older versions of gcc will not run unless the shared libraries are kept around for compatibility
Thanks for replying. Hell, I couldn't even get a successful build without tinkering with the source. The libiberty tree's configure script does not detect stdlib.h and some other files which are installed which breaks the whole build.

Which older versions are you referring to?
 
Old 04-22-2004, 06:28 AM   #4
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Well some things need the shared libraries from gcc-2.9 (flash) and some things need gcc-3.2/3.3, depending what they were compiled with. Last week I built Bleeding Edge Linux From Scratch which used gcc3.4 checked out through cvs. Bleeding edge uses glibc-2.3.4 and builds on the linux-2.6 kernel headers, which may be why I didn't experience your problems with libiberty. I had no problem compiling gcc-3.4 or any of the packages in Bleeding Edge, it was when I started to build on top of the basic system I started to have problems. Firefox wouldn't run as there was a shared library missing (I forget which one, libstd- something) and the Firefox-0.8 source tarball wouldn't build with gcc-3.4 so I pulled the current source with cvs and that built and ran with no problems. To get glib-1.2.10 and the gnome terminal to build I had to install gcc-3.3.1 in /opt and use that, which was less than ideal but needs must. The kernel built no problem with gcc-3.4. It runs fine too. The only reason I don't use that version of Linux from scratch as my default boot is I can't get my printers to work. I think the problem there is with udev, which is a whole different subject.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 02:13 PM
Kernel compiling: gcc-3.3 is 586, should be gcc-3.3 386 Erik Plaggenmar Linux - Software 0 10-01-2004 11:38 AM
running software built with gcc 3.0.2 on Redhat 8 - gcc 3.2 dst1989 Linux - Software 3 03-08-2004 10:23 PM
a doubt with host gcc and arm-linux-gcc renjithgopal Linux - General 1 09-11-2003 04:02 PM
export CC=/usr/bin/gcc-3.2 - switch gcc version? ferreter Linux - Software 1 08-20-2003 12:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:12 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration