building gcc

David Daney ddaney@avtrex.com
Wed Oct 11 23:17:00 GMT 2006


Bob Rossi wrote:
> Hi,
> 
> I'd like to build gcc with just the C/C++ front ends. Are there 
> any configure options I could use to make only a minimum gcc
> build to get those 2 languages working?

Take a look at the Fine documentation that is available at 
http://gcc.gnu.org

In particular looking at the installation documentation where it 
describes the --enable-languages=c,c++ configure option would be useful.

The answers to your other questions can be found in the documents and 
WIKI at gcc.gnu.org.

> 
> Also, I'd like to be able to debug gcc. Is there any special flags for
> this?
> 
> Finally, once it's built, I'd like to manually traverse the AST. Any
> pointers on where this would be?
> 
> Thanks,
> Bob Rossi



More information about the Gcc mailing list