Clan x86

Technical (Development, Security, etc.) => Unix / Linux Discussion => Topic started by: rabbit on April 09, 2006, 01:07:02 PM

Title: GCC Binary?!
Post by: rabbit on April 09, 2006, 01:07:02 PM
http://gcc.gnu.org/install/binaries.html

Which one?

I need to update GCC (I have 3.3.6 now, which is too old) to install glibc.  I tried doing ./configure (worked fine) and make, and therein lies the problem.  I called make at around 8am, and cancled it at about 1pm, as it was not done.  During that time my computer was too slow to do anything, so I decided to just give up and get a binary.
Title: Re: GCC Binary?!
Post by: Joe on April 09, 2006, 01:09:43 PM
Can't you build the new GCC using the old GCC?
Title: Re: GCC Binary?!
Post by: Ergot on April 09, 2006, 01:37:11 PM
http://slackware.mirrors.easynews.com/linux/slackware/slackware-10.2/testing/packages/gcc-3.4.4/

http://slackware.mirrors.easynews.com/linux/slackware/slackware-current/slackware/d/

Just be careful, in my experiences I had to go back and install gcc-3.3.x because of older software that weren't compiled with gcc-3.4.x needed it or something like that.

To install the packages do # upgradepkg pkgname.tgz to deleted the old and install the new
#installpkg pkgname.tgz to install it over the old.
Title: Re: GCC Binary?!
Post by: rabbit on April 09, 2006, 01:57:00 PM
installpkg is broken

bash-3.00# installpkg gcc-3.4.4-i486-1.tgz
bash: installpkg: command not found
Title: Re: GCC Binary?!
Post by: Joe on April 09, 2006, 02:00:43 PM
# installpkg installpkg
Title: Re: GCC Binary?!
Post by: Ergot on April 09, 2006, 02:38:38 PM
Quote from: Joe on April 09, 2006, 02:00:43 PM
# installpkg installpkg
Hehe... please leave.

Isn't installpkg part of pkgtool? Did you do a full install of Slackware?
Title: Re: GCC Binary?!
Post by: rabbit on April 09, 2006, 07:04:51 PM
I did complete install yesterday.  I downloaded pkgtool, unpacked it and then used it on its packed self...but even then I couldn't use *pkg commands.  What's weird is I can pull up the man page for any of them -.-