This is the mail archive of the gcc-help@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: 3.1, Solaris2.7


Hugh Sasse wrote:

> Futher to my problems on Solaris2.5.1, I'm also trying things out
> on a Solaris2.7 system (which is faster).  On that system, with
> /usr/local/bin at the front of my path (so gnu as is seen before
> Sun's as, and similarly for ld...)

No - configure will find the sun as in its default location before it
starts searching the path.

You must either use '--with-as=/usr/local/bin/as' or install as in a
location that gcc will search before /usr/ccs/bin/as, such as
/usr/local/sparc-sun-solaris2.7/bin/as. (For a full list, look in
gcc/configure - try searching for 'test_dirs'.) Ditto ld.

> loading cache ../config.cache
> gmake[1]: *** [configure-target-libjava] Error 1

This is a documented problem with the Solaris 2.7 /bin/sh; you need to
use another shell, e.g. /bin/ksh. (Although it's disappeared from the
online target specific install notes - !) Try:

    export CONFIG_SHELL=/bin/ksh

before you configure and build.

Good luck,
Rup.


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