SlackwareThis Forum is for the discussion of Slackware Linux.
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.
yeah, but you need to do it correctly. If you are not sure on how to proceed, you'd probably be better off using the slackware packages from a slackware mirror ( IIRC they are in the /testing directory).
www.slackware.com/pb doesn't show any packages that are gcc 3.4.3 highest they go to is 3.3.5...plus it's a slightly large download...took me a few hours to downloaded it.
Perhaps you could point me to a tutorial or something.
I assume upgradepkg wouldn't work unless it was .tgz
also, depending on what you use, you don't have to install the compilers you don't need. If you only use/need the c and c++, there is no point in installing objc, java, or f77.
oh yeah, one thing to note, if g++ upgrades libstdc++ to libstdc++.so.6 ( g++-3.x series come with so.5) can't guarantee c++ apps will work any longer unless you recompile them ( or manually toss in a libstdc++.so.5 ) ( think mozilla, firefox, all of kde, qt, etc..).....
You are probably better off installing gcc-3.4.x alongside your current gcc install, especially since you'll be going from 3.3.x to 3.4.x. Maybe install it from source to /usr/local or a similair location. But as __J said, unless you are familiar with compiling gcc from source, you should spend some time reading the gcc documentation at http://gcc.gnu.org/install/. You can also reference the slackware build scripts to see how Pat configures it.
Originally posted by __J oh yeah, one thing to note, if g++ upgrades libstdc++ to libstdc++.so.6 ( g++-3.x series come with so.5) can't guarantee c++ apps will work any longer unless you recompile them ( or manually toss in a libstdc++.so.5 ) ( think mozilla, firefox, all of kde, qt, etc..).....
I installed the gcc-g++-3.4.3 slackware package on Slackware 10.1 (where gcc-g++-3.3.4 is standard) and found that the newer libstdc++ sat right next to the older versions, no problems. In any case, if any of the older libstdc++ libs go missing, you can get them back by installing the cxxlibs package.
Originally posted by Nobber I installed the gcc-g++-3.4.3 slackware package on Slackware 10.1 (where gcc-g++-3.3.4 is standard) and found that the newer libstdc++ sat right next to the older versions, no problems. In any case, if any of the older libstdc++ libs go missing, you can get them back by installing the cxxlibs package.
hope you don't mind here....
I am also going to be updating to that. gFTP all the newer packages and then you can install them by two things.
pkgtool and remove the entries for the new items. Or
upgradpkg and let it remove the entries and install the new pkgs. the file is in the sbin area. Its a script so I think you can look at it too.
Download the gigantic source and configure using the configure flags above. and the make bootstrap (I think, better check the gcc INSTALL/README, I compiled it a long time ago.), checkinstall and you are done.
Download the gigantic source and configure using the configure flags above. and the make bootstrap (I think, better check the gcc INSTALL/README, I compiled it a long time ago.), checkinstall and you are done.
Oh, compiling gcc takes a long time.
Better yet,. use gFTP and hook up to the slackware site. Look in the slackware-current directory listing and look around for al the packages you need. there is 4 I think. Then ftp all of them in que. Once done, open a terminal and change to the directory you downloaded them to. Type in upgradepkg g*.tgz and all the packages will be upgraded, and all the older ones will be removed. So you won't have a bunch of extra entries in the installed packages list. or a lot of disk space used for things you are no longer using. So far I have upgraded gcc++, X11 GTK and several other updated packages with no problems.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.