Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Compilers > Bootstraping co...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 19 Topic 2388 of 2508
Post > Topic >>

Bootstraping compilers ?

by pocm@[EMAIL PROTECTED] (Paulo Jorge de O. C. de Matos) Apr 16, 2008 at 10:30 PM

Hello all,

I am wondering if a compiler should always be able to compile
itself. gcc for example seems to do it, but is this good practice or
should this always happen?

My guess is that this is definitely not necessary. Imagine developing
a compiler for C99 written in C89. In this case, we would have a C99
compiler not able to compile itself, right? [given that I don't think
that C89 is a subset of C90]

Cheers,

--
Paulo Jorge Matos - pocm at soton.ac.uk
http://www.personal.soton.ac.uk/pocm
PhD Student @[EMAIL PROTECTED]
 ECS
University of Southampton, UK
[Considering that a fair number of compilers aren't written in the
language they compile, it's hard to see how it could be mandatory.  On
the other hand, for compilers written in their own source language,
the compiler is often the first non-trivial set of source code used to
test it.  On the third hand, read this Ken Thompson classic
http://cm.bell-labs.com/who/ken/trust.html
-John]
 




 19 Posts in Topic:
Bootstraping compilers ?
pocm@[EMAIL PROTECTED] (  2008-04-16 22:30:21 
Re: Bootstraping compilers ?
Chris Hills <chris@[EM  2008-04-18 11:45:12 
Re: Bootstraping compilers ?
pocm@[EMAIL PROTECTED] (  2008-04-22 00:07:22 
Re: Bootstraping compilers ?
David Spencer <spencer  2008-04-22 16:05:51 
Re: Bootstraping compilers ?
Hans-Peter Diettrich <  2008-04-22 20:07:33 
Re: Bootstraping compilers ?
=?ISO-8859-1?Q?Roland_Lei  2008-04-18 07:32:18 
Re: Bootstraping compilers ?
Marco van de Voort <ma  2008-04-18 19:32:59 
Re: Bootstraping compilers ?
"Damian Thomas"  2008-04-18 08:46:51 
Re: Bootstraping compilers ?
Marco van de Voort <ma  2008-04-18 19:38:29 
Re: Bootstraping compilers ?
"Christopher Glaeser  2008-04-19 23:42:06 
Re: Bootstraping compilers ?
Greg Lindahl <lindahl@  2008-04-18 14:13:55 
Re: Bootstraping compilers ?
torbenm@[EMAIL PROTECTED]  2008-04-21 10:35:52 
Re: Bootstraping compilers ?
Hans-Peter Diettrich <  2008-04-21 20:22:33 
Re: Bootstraping compilers ?
glen herrmannsfeldt <g  2008-04-21 21:18:53 
Re: Bootstraping compilers ?
glen herrmannsfeldt <g  2008-04-23 00:47:23 
Re: Fortran H, was Bootstraping compilers ?
"Comp.compilers"  2008-04-23 21:15:42 
Re: Fortran H, was Bootstraping compilers ?
=?ISO-8859-1?Q?J=FCrgen_K  2008-04-24 17:59:13 
Re: Fortran H, was Bootstraping compilers ?
glen herrmannsfeldt <g  2008-04-25 12:57:11 
Re: Fortran H, was Bootstraping compilers ?
glen herrmannsfeldt <g  2008-04-24 10:07:24 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Sep 7 6:58:57 CDT 2008.