This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc incremental build
ankit jindal wrote:
> I am modifying just two files (haifa-sched.c and sched-rgn.c) for the
> purpose I am trying to acheive. So every time a do a change and want
> to test it I have to recompile whcih take quite some time. How can I
> do an incremental compile so that tell it to create binaries for only
> these two files and link them.
>
> I think someyhing need to be done to the Makefile but am not sure
> what? or if there is some other way this could be achieved.
Unless you're doing a complete bootstrap you can just go into the gcc
dir and type
make
or
make cc1
Andrew.