Discussion:
Installing gcc
Gunnar Sjoo
2006-06-20 09:14:17 UTC
Permalink
Can anybody tell me how to install gcc? The instructions from gcc.gnu.org are
absolutely impossible for me to understand. My operative system is Mandrake
Linux 10.1

Botelgubben


--
----- PROMOCJA - 180 dni gratis! -----
12GB powierzhchni, konta e-mail b.o.,
transfer az 600 GB. http://www.alpha.pl
--------------------------------------------
Kai Ruottu
2006-06-20 09:51:46 UTC
Permalink
Post by Gunnar Sjoo
Can anybody tell me how to install gcc? The instructions from gcc.gnu.org are
absolutely impossible for me to understand. My operative system is Mandrake
Linux 10.1
As the matter of fact the FSF "install" can mean "build" or "producing
from sources"... This then comes from the assumption about everyone
wanting to build from sources, never "installing" any binaries! So every
person wanting Linux of course produces it from its pristine sources! And
never uses anything like your "Mandrake Linux 10.1", that is right from
the ass because it means installing prebuilt binaries!

After reading the previous you should understand what the basic idea is!

Ok, for all sanity it could be expected that "GCC for Linux" could be
something
like "Mozilla Firefox for Linux", something which should work on every Linux
which meets the minimum specifications like "having glibc-2.2". Or the C
library could come with the GCC, partly duplicating what people have in
their
'/lib' and '/usr/lib' as "runtime libraries"... Unfortunately this
hasn't been the
case but every Linux distro comes with its own "custom" GCC, called "native
GCC", which cannot easily be copied from a Linux to another Linux....

So your best choice is to try find all the available "GCC" RPMS for
Mandrake
and install one of these using the 'rpm' package manager....
Post by Gunnar Sjoo
Botelgubben
--
----- PROMOCJA - 180 dni gratis! -----
12GB powierzhchni, konta e-mail b.o.,
transfer az 600 GB. http://www.alpha.pl
--------------------------------------------
Brian Dessent
2006-06-20 09:52:31 UTC
Permalink
Post by Gunnar Sjoo
Can anybody tell me how to install gcc? The instructions from gcc.gnu.org are
absolutely impossible for me to understand. My operative system is Mandrake
Linux 10.1
The instructions on the gcc web page are for building gcc from source.
The vast majority of users do not need to do this because their
distribution/OS vendor includes gcc binary packages. For Mandrake you
should be able to just type something like "urpmi gcc" and be done with
it. There also might be a GUI package selection tool that you could
use, I don't know. Regardless, you run whatever it is your distro uses
to install packages and just select the gcc package.

Note that packages are usually modular by language, so if you want more
than just the C compiler you may have to also select e.g. "gcc-c++",
"gcc-java", etc. in addition to the main gcc package.

These steps for installing packages are not listed on the gcc.gnu.org
website (nor could they be) because the details of how to do this varies
with each platform/distro, and there are literally hundreds of distros
out there in the wild. It would be impossible to cover all of them, and
besides, the gcc project (and/or the FSF) have no control over these
packages, they are created by third parties.

Brian
Gunnar Sjoo
2006-06-21 08:25:27 UTC
Permalink
Post by Brian Dessent
Post by Gunnar Sjoo
Can anybody tell me how to install gcc? The instructions from gcc.gnu.org
are absolutely impossible for me to understand. My operative system is
Mandrake Linux 10.1
The instructions on the gcc web page are for building gcc from source.
The vast majority of users do not need to do this because their
distribution/OS vendor includes gcc binary packages. For Mandrake you
should be able to just type something like "urpmi gcc" and be done with
it. There also might be a GUI package selection tool that you could
use, I don't know. Regardless, you run whatever it is your distro uses
to install packages and just select the gcc package.
Note that packages are usually modular by language, so if you want more
than just the C compiler you may have to also select e.g. "gcc-c++",
"gcc-java", etc. in addition to the main gcc package.
These steps for installing packages are not listed on the gcc.gnu.org
website (nor could they be) because the details of how to do this varies
with each platform/distro, and there are literally hundreds of distros
out there in the wild. It would be impossible to cover all of them, and
besides, the gcc project (and/or the FSF) have no control over these
packages, they are created by third parties.
Brian
Thank you for your rapid answer. I tried to type "urpmi gcc", but the
computer's reply was "command not found". Regrettably, the rest of your
instructions were too advanced to me, I don't know what a "binary package" is
and how it works, the same goes for "GUI package selection tool".
Probably "distro" means "distribution", but what my distribution uses to
install packages I don't know and I don't know how to find out.
From the end of your letter I realize that it will be impossible for me
to install gcc - all that remains is to throw in the towel.

Yours sincerely
Gunnar Sjoo
Post by Brian Dessent
--
----- PROMOCJA - 180 dni gratis! -----
12GB powierzhchni, konta e-mail b.o.,
transfer az 600 GB. http://www.alpha.pl
--------------------------------------------
--
----- PROMOCJA - 180 dni gratis! -----
12GB powierzhchni, konta e-mail b.o.,
transfer az 600 GB. http://www.alpha.pl
--------------------------------------------

Continue reading on narkive:
Loading...