On Mar 26, 2006, at 3:56 PM, Ben Elliston wrote:
A seperate but sort of related question is: After looking at
Makefile, I think toplev_main () in toplev.c (which is wrapped in
main() in main.c)is compiled to cc1(i.e, $BACKEND), is it correct?
But why can't I find cc1 in the mygcc/bin director
> Can someone give a brief intro of what do_spec(), do_spec_x() and
> execute() do, so that I can follow the procedure?
The comments seem generally adequate, but that could just be me :-)
For do_spec ():
/* Process the spec SPEC and run the commands specified therein.
Returns 0 if the spe
I am looking at the source code of gcc.c, and I found the driver function
main.c calls do_spec(). It seems that do_spce() is the function, called by
main(), which invokes the preprocessor, compiler, assembler and linker
individually at different step according to the input to the driver; and
e