This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Does 'make install' changes xgcc?
- From: Tim Prince <tprince at computer dot org>
- To: Ritu Sabharwal <ritu at csa dot iisc dot ernet dot in>, gcc at gcc dot gnu dot org
- Date: Sat, 12 Oct 2002 17:20:45 -0700
- Subject: Re: Does 'make install' changes xgcc?
- References: <Pine.LNX.4.44.0210130339210.17550-100000@topaz.csa.iisc.ernet.in>
- Reply-to: tprince at computer dot org
On Saturday 12 October 2002 15:19, Ritu Sabharwal wrote:
> We are doing modulo scheduling for gcc-3.0. After making changes(just
> printfs for debugging purpose) to the source code we compile it using
> make and rum the testcases using xgcc(xgcc -da -O3 test.c),but these
> changes are not reflected in the dump file generated for our pass.But
> after doing 'make install' does reflects them. What might be the possible
> reason for this?
> The path for xgcc is same in both the cases.
>
You must use the -B option, as 'make check' does, to make the libraries and
compiler phases come from your new copy rather than the installed copy.
Even 'make check' doesn't necessarily do the entire job; it may take some
libraries, such as libg2c.a, from the --prefix installed tree.
--
Tim Prince