| Re: Praise for Gfortran (finally) |
|
 |
|
 |
|
 |
|
 |
Group: comp.lang.fortran · Group Profile
Author: nospamnospam Date: Sep 19, 2008 10:31
Phillip Helbig---remove CLOTHES to reply
wrote:
> Shouldn't porting (the compiler) it be trivial? That is, just compile and
> go? Or is not everything implemented in the source code of the compiler,
> but instead makes use of system calls etc?
Um. Compile with what? Yes, after you have a compiler, you can use it to
compile the compiler. Boostrapping cam be decidedly non-trivial. THat's
the whole point, which it looks like you missed.
Not that I've done much of that kind of thing myself, but I'd think a
common way would be to start by making use of cross compilation. That
sure beats starting from scratch. Something I have done is "boostrap" by
using other (possibly older" compilers. But that requires a pre-existing
compiler of some kind or other, and if you are posrting a new one
because of shortcommings in the existing ones, it might be non-trivial
to get the new one to compile with the old one.
--
Richard Maine | Good judgement comes from experience;
email: last name at domain . net | experience comes from bad judgement.
domain: summertriangle | -- Mark Twain
|