Use gcc3 before* *installation?

Alexandre Oliva aoliva@redhat.com
Tue Jun 26 16:20:00 GMT 2001


On Jun 26, 2001, Neil Bird <neil.bird@uk.thalesgroup.com> wrote:

>   I'd like to run a make of a few things using gcc 3.0 *before*
> I install it to prove that I don't break anything anyone will
> shout about - is this feasable?

Yes, it's possible, but it's tough to get right.  Your best bet is
probably to install it in a different prefix, say `make install
prefix=/tmp/install-tree' and see whether it works.

If you really want to run it in the build tree, look at the definition
of CXX_FOR_TARGET in the top-level Makefile, and use that.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



More information about the Gcc-help mailing list