[lug] Building from source

rm at fabula.de rm at fabula.de
Thu Sep 19 03:19:59 MDT 2002

On Thu, Sep 19, 2002 at 02:22:10AM -0600, John Dollison wrote:
> I just tried downloading my first Linux program as source code, and tried to
> follow the installation instructions.  I got an error that indicated I
> didn't have gcc installed to compile my source with.  So I went to the gcc
> website, and found out that it's also distributed as source.  So how do I
> compile gcc, if I don't already have gcc?
> John

Hi John,

if this really is your first attempt at compiling under/on Linux, don't
try to compile gcc (actually, it's not that hard, but you wouln'd want
to drive to your first driving lesson with a 13 ton truck either ;-)
The gcc compiler should be available as a binary package in your distribution
(unless  you're using 'Linux from Scratch') -- use that for now.
You didn't tell us which distro you use, for Debian a simple:
'apt-get install -f gcc' or 'apt-get install -f gcc-3.0' should do it.
For RedHat and relatives (like Krud) you'll find other experts on this
list ...


P.S.: have fun compiling, it's one of the most satisfying experiences
on Linux.
> .
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug

More information about the LUG mailing list