This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Does 'make install' changes xgcc?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]