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]

Does 'make install' changes xgcc?


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

xgcc -Bprefix -da -O3 test.c 

doesn't seem to be working for us. Our installed copy of gcc gets stored 
in

prefix/bin

and xgcc is stored in 

prefix/objdir/gcc directory

after issueing 'make' the new version of xgcc is stored at the above 
directory and even if we do:

/prefix/objdir/gcc/xgcc -da -O3 test.c

It does not take the new copy..Please guide..

regards,
Ritu 


--------------------------------------------------------------------------------



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