Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Dec 2006 21:00:00 +0100
From:      Erik Trulsson <ertr1013@student.uu.se>
To:        deeptech71@gmail.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: where to get the iso c90 compiler?
Message-ID:  <20061228200000.GA37533@owl.midgard.homeip.net>
In-Reply-To: <45941C69.5020601@gmail.com>
References:  <4592E8EA.6010402@gmail.com> <4592EC6E.9090302@FreeBSD.org> <4592F190.2000206@gmail.com> <20061228135224.GA2463@kobe.laptop> <45941C69.5020601@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 28, 2006 at 08:35:05PM +0100, deeptech71@gmail.com wrote:
> Giorgos Keramidas wrote:
> >Does the lang/gcc41 port work for you?
> 
> I don't know I don't care. I want to learn more about compilation 
> processes, get to know UNIX-like systems more, and whatever. So I've 
> downloaded the source for gcc, and the README says that I need the ISO 
> C90 compiler. Where do I get that? OK it looks like I can compile gcc 
> 4.1 with an older gcc, but that's not my choice.

There is no such thing as *the* ISO C90 compiler, but, the gcc README almost
certainly says that you need *a* ISO C90 compiler, i.e. a compiler that can
compile programs written in the C language as defined by the 1990 ISO
standard.  Gcc is one such compiler.

> [ But if that's the case, how was the first gcc compiled? xD ]

With whatever C compiler the gcc developer had at that time.

> [ How was the first ever compiler compiled? xD               ]

It probably wasn't.  The first ever compiler was most likely written
in assembler.  Later on the first compiler for a new language has usually
been written in some other language.


-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@student.uu.se



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061228200000.GA37533>