successful build gcc-3.2.2 solaris x86

Robert Hoffmann bobx@servermasters.com
Sat Feb 15 22:49:00 GMT 2003


Hello,

I just finished building gcc-3.2.2 on a Solaris 8 x86 box. I noticed 
that sunfreeware only copied 3.2.1 over, to 3.2.2, so I decided to make 
it myself.

the machine had gnu make and gnu binutils, and there was a package 
installation og the SMCgcc (3.2.1).

The only thing I changed in the machine to make it work, is:

I added the following line in /usr/include/stdlib.h (was an easy place 
to put it)

    #define DEFAULT_PCC_STRUCT_RETURN    0

I ran gmake bootstrap, then gmake, and then gmake install, and the 
following is what I get:

./config.guess  
i386-pc-solaris2.8


gcc --version
gcc (GCC) 3.2.2
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

The programs seem to compile fine, I made a little hello world proggy, and
gcc aa.c -o aa
bash-2.03# ./aa
Hello da world

cheers

BobX




More information about the Gcc mailing list