Configure and make only CC1 ??

duongtu duongtu@gmail.com
Thu Oct 2 02:07:00 GMT 2008


Hi Ian,

Thanks for your support!
I want to do that because I just want to use CC1 for investigating (debug cc1 only). I would consider your way :)

Regards,
Tu

-----Original Message-----
From: Ian Lance Taylor [mailto:iant@google.com] 
Sent: Thursday, October 02, 2008 1:24 AM
To: Tu
Cc: gcc-help@gcc.gnu.org
Subject: Re: Configure and make only CC1 ??

Tu <duongtu@gmail.com> writes:

> Thanks for your suggest,
> But what I mention here is not the languages, for my purpose, I want
> to build GCC just only the compiler (CC1) without the linker or orther
> execute outputs (xgcc)

I'm not sure why you want to do that, but doing something like this
would do it:

configure <options> --disable-bootstrap --enable-languages=c
make all-gcc
^C when it goes into the gcc directory
cd gcc
make cc1

Ian



More information about the Gcc-help mailing list