where to get the iso c90 compiler?

Erik Trulsson ertr1013 at student.uu.se
Thu Dec 28 12:15:14 PST 2006


On Thu, Dec 28, 2006 at 08:35:05PM +0100, deeptech71 at 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 at student.uu.se


More information about the freebsd-questions mailing list