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?


>>>>> "Ritu" == Ritu Sabharwal <ritu@csa.iisc.ernet.in> writes:

 > xgcc -Bprefix -da -O3 test.c

if you haven't installed the tree, then -Bprefix won't help, as
there's nothing in prefix/ yet.

I suggest going into the gcc directory, doing a "make check",
interrupting it after a few seconds, going into "testsuite/gcc.log"
and doing whatever it is doing to compile tests.

If you're testing C++, more magic incantations may be needed.  In this
case, it's easier to do:

export LD_PRELOAD=/build-dir/triplet/libstdc++-v3/src/.libs/libstdc++.so

or some oddity like that.  But I assume you're working with C, not C++.

Cheers.
Aldy


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