17 Aug
2010
17 Aug
'10
7:21 p.m.
Dear Peter and Frank, Let's suppose we have this new GPC front-end that's written in Pascal. I assume the compiler compiles itself, but in two stages. Given a binary version of the compiler, we apply this binary to a new version of the Pascal GPC source code, which produces a new C++ program representing the compiler, which we compile again with GCC, to produce a new compiler binary. Is that how it would work? And I assume the advantage of C++ as the output is that you could, in theory, use any C++ compiler to get the binary. To what extent will you use C++ features particular to GCC? Yours, Kevan -- Kevan Hashemi, Electrical Engineer Physics Department, Brandeis University http://alignment.hep.brandeis.edu/