This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Use gcc3 before* *installation?
- To: GCC Help Mailing List <gcc-help at gcc dot gnu dot org>
- Subject: Re: Use gcc3 before* *installation?
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 26 Jun 2001 20:20:02 -0300
- Organization: GCC Team, Red Hat
- References: <3B38A5BD.EBEB89CC@uk.thalesgroup.com>
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