Re: the struggle for a 64-bit GCC on Solaris 10 - part 2

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

 



> I've just successfully bootstrapped x86_64-pc-solaris2.10 using GCC
> 4.4.3 as the bootstrap compiler, with in-tree gmp/mpfr/mpc, without
> setting any CFLAGS at all, just

the following works on Solaris 10 Sparc : 

$ CC='gcc -m64' CXX='g++ -m64'  ../gcc-4.7.2/configure \
--build=sparc64-sun-solaris2.10 --prefix=/usr/local/gcc4 \
--with-gmp=/usr/local --with-mpfr=/usr/local --with-mpc=/usr/local \
--disable-nls --enable-threads=posix --enable-shared \
--libdir=/usr/local/gcc4/lib --with-local-prefix=/usr/local/gcc4 \
--disable-multilib --enable-languages=c,c++,objc,fortran,ada \
--enable-bootstrap

I have to run a testsuite on this to see what I have but at least the bootstrap was clean looking. 

Oh, also, after install : 

dclarke@unreal $ find /usr/local/gcc4/ -type f | xargs file | grep ELF | cut -f2 -d\: | sort -u 
 ELF 64-bit MSB dynamic lib SPARCV9 Version 1, dynamically linked, not stripped
 ELF 64-bit MSB executable SPARCV9 Version 1, dynamically linked, not stripped
 ELF 64-bit MSB relocatable SPARCV9 Version 1

Not a 32-bit object to be seen.  Perfect. 

Dennis 



[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