This is the mail archive of the gcc-bugs@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]

behavior of GCC_EXEC_PREFIX seems to have changed between 3.3.1 and 3.4.0


I'm using sparc solaris8.
I would expect 3.3.1 and 3.4.0 to have the same behavior here...
I didn't see this problem discussed...

%printenv GCC_EXEC_PREFIX
%gcc-3.3.1 -v -print-prog-name=ld
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.1/specs
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.1/../../../../sparc-sun-solaris2.8/bin/ld
%gcc-3.4.0 -v -print-prog-name=ld
Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.0/specs
/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.0/../../../../sparc-sun-solaris2.8/bin/ld
%export GCC_EXEC_PREFIX=/usr/local/bin/
%gcc-3.3.1 -v -print-prog-name=ld
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.1/specs
/usr/local/bin/ld
%gcc-3.4.0 -v -print-prog-name=ld
Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.0/specs
/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.0/../../../../sparc-sun-solaris2.8/bin/ld


It would also be useful to specify programs for various passes (I'm having problems
with ld 2.14 and 2.15, and it would be nice to be able to do something like:
	gcc --ld-prog=/usr/local/bin/ld-2.14 ...
and
	gcc --ld-prog=/usr/local/bin/ld-2.15

instead of playing symlink/cp games

I'm also not clear why 3.3.1 installedd in <prefix>/lib/gcc-lib
and 3.4.0 installed in
	<prefix>/lib/gcc



marty		mleisner@eng.mc.xerox.com   
Don't  confuse education with schooling.
	Milton Friedman to Yogi Berra


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