Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
In Mandrake 8.2, is it possible, and if so, how would one go about installing and using the gcc 3.1 compiler. From what I've been reading, gcc 3.1 has expanded and improved specific optimization for the AMD Athlon XP cpus and their chipset platforms, thus generates faster code. This is very interesting to me, as I'm disappointed with linux performance on AMD systems.
Specifically, are there problems involved with having 2.92 and 3.0.4 compilers already in Mandrake 8.2, and then trying to add gcc 3.1? If it can be done, how does one set which compiler to use when you compile a tarball? Do the programs compiled with gcc 3.1 on an Athlon/i686 system work along side other progs compiled with the other compilers?
My objective is to get as much out of my relatively high-end hardware, but I'm very new at this stuff.Can I just install the gcc 3.1 compiler, then select to use it, and then go ahead and do the usual procedure and have everything work without breaking my system? What sort of problems or incompatibilities would I be likely to run into?
Thanks,
wrc1944
3.2 rpm looks like the way to go for an amateur like myself. Has anybody done it successfully? I'd sure like to hear some feedback before I break my system. Since I have an Athlon/i686 system, would it be wise to recompile the source rpm with the i686 flags before installing the 3.2 rpm? If anybody has some links for good info on all this (I've already looked at all the gcc website pages) I'd like to know about them.
Thanks,
wrc1944
"It" is the final pop-up dialog box that comes up when I click the final time to begin the download in Konqueror after reaching the gcc 3.2 page from the link you posted. Same thing happens with the .src.rpm link on that page. The page also says gcc-cpp 3.2 and libgcc 3.2 (among a few other things) are required, and those files don't exist either. I guess they took them all off the server.
Distribution: Slack 8.1, Gentoo 1.3a, Red Hat 7.3, Red Hat 7.2, Manrake 8.2
Posts: 328
Rep:
try getting a source tarball, its easier as you compile the program yourself and its setup specifically for your machine.
Very simple: -
1. Put tarball in /usr/local (or where you want it)
2. at command line type tar zxvf tarballname.tar.gz
if the tarball is of type tarball.tar.bz2 then type
tar jxvf tarballname.tar.bz2
3.now cd ./tar directory name
4. ./configure
5. make
6. make install
hey presto you now have a new gcc compiler installed
I'm wondering if the gcc 3.2.0 src.rpm is going to contain the other gcc 3.2.0 packages that the other page said were required. So far, I can't find those either. Might wind up in a cascading dependency hell.
Distribution: Slack 8.1, Gentoo 1.3a, Red Hat 7.3, Red Hat 7.2, Manrake 8.2
Posts: 328
Rep:
try this site its the mirrors from the gcc.gnu.org, according to them 3.2 hasnt been released yet (I dont think the page has been updated) either way check these mirrors for 3.1.1 or 3.2
Won't rpm -Uvh gcc3-3.2...rpm replace 3.0.4, which I might not want to do?
Also, can somebody please specify how you select which compiler will be used? Is it done globally, like withing a file /etc/xxx, or in a file within each extracted tarball? Or will any ./configure command autmatically know which one to use?
wrc1944
wrc1944, probably the new rpm will overwrite the old one.
Configure script (and make) finds the one gcc which is started using gcc. 'gcc' (in my system in /usr/bin ) is usually a symlink, so you can make it poing to any compiler you like.
I guess the main reason is I've been advised to keep 3.0.4 on another forum, and I figured that was wise until I see if 3.2.0 doesn't have major problems on my system. Just seemed prudent to me, as I probably would have trouble repairing any damage I caused. When newbies get contradictory advice, it's pretty confusing.
Can somebody please clue me in on the other point, about how to select which compiler to use for a specific run? Or is the plan to just use the latest one as your default, and there's really no need for keeping the others? I've looked in the extracted files of some tarballs, and sometimes they refer to using a specific compiler, so I wonder if that compiler is mandatory, or maybe I need to edit that file if I want to use a different compiler.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.