Go to the first, previous, next, last section, table of contents.

Rebuilding using gcc

If you've built and installed the compiler in a native configuration, you may wish to use it to rebuild itself. To do this, set the environment variable CC to the installed version of gcc, and reconfigure and rebuild the toolkit.

$ CC=installed-dir/gcc configure ...
$ make CC=installed-dir/gcc ...

For example, if you installed the Developer's Kit in `/usr/local', use the following commands to rebuild with the installed GCC:

$ CC=/usr/local/bin/gcc configure ...
$ make CC=/usr/local/bin/gcc ...

Make sure you specify the same compiler for CC for both the configure and make steps.

(Note: these examples assumes you are using a Bourne-compatible shell (sh, bash, ksh); contact Cygnus Support if you encounter any problems.)


Go to the first, previous, next, last section, table of contents.