slight bug on solaris when attempting to use libtool

Cyrille Chepelov chepelov@rip.ens-cachan.fr
Wed Sep 30 06:02:00 GMT 1998


egcs-1.1b has a tiny problem : it always tries to call /usr/ccs/bin/ld no
matter if GNU ld is installed (somewhere else) before in $PATH. Actually,
there's a hardcoded /usr/ccs/bin path in  

simply /* */ out the offending block solved the problem for me, but might
break on other systems : 

in gcc/config/svr4.h :
----------------------------------------
 /* Under svr4, the normal location of the `ld' and `as' programs is the
    /usr/ccs/bin directory.  */
+/* 
 #ifndef CROSS_COMPILE
 #undef MD_EXEC_PREFIX
 #define MD_EXEC_PREFIX "/usr/ccs/bin/"
-#endif
+#endif */

 /* Under svr4, the normal location of the various *crt*.o files is the
    /usr/ccs/lib directory.  */
----------------------------------------

The machine is an Ultra5 under solaris2.6, GNU binutils 2.9.? are
installed.

TIA

	-- Cyrille

------------------------------
Zog Zog





More information about the Gcc-bugs mailing list