GCC 4.1.0 build failure on solaris 2.8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, 

Building gcc on solaris fails as it cannot find the file config.sub. By copying the file from the gcc-4.1.0 main directory, compilation continues but will fail later as it cannot configure/build libltdl in the libjava directory. Has anybody succeeded with a gcc solaris build ? When building gcc for linux (both 32 and 64 bit), the build of gcc completed successfully. 

Regards, 

Tom 

--- 

Build command sequency: 

export CONFIG_SHELL=/bin/ksh 
../gcc-4.1.0/configure --prefix=/installpath/gcc/4.1.0/SUNSOL --enable-languages=c,c++,java,objc,obj-c++ --with-gmp=$HOME/local/gmp/4.1.4/SUNSOL/ --with-mpfr=$HOME/local/gmp/4.1.4/SUNSOL 
gmake CFLAGS='-O' LIBCFLAGS='-g -O2' \ 
LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap 

Excerpt from the build failure: 

gmake[4]: Leaving directory `/gcc/SUNSOL/fastjar' 
gmake[3]: Leaving directory `/gcc/SUNSOL/fastjar' 
mkdir ./fixincludes 
Configuring in ./fixincludes 
configure: creating cache ./config.cache 
configure: error: cannot run /bin/ksh ../config.sub 
gmake[2]: *** [configure-fixincludes] Error 1 
gmake[2]: Leaving directory `/gcc/SUNSOL' 
gmake[1]: *** [all] Error 2 
gmake[1]: Leaving directory `/gcc/SUNSOL' 
gmake: *** [bootstrap] Error 2

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux