successful build gcc-3.2.2 solaris x86

Robert Hoffmann bobx@servermasters.com
Sun Feb 16 00:41:00 GMT 2003


I forgot,

the gcc -v output is:

bash-2.03# gcc -v
Reading specs from /usr/local/lib/gcc-lib/i386-pc-solaris2.8/3.2.2/specs
Configured with: ../gcc-3.2.2/configure --with-gnu-ld --with-gnu-as
Thread model: posix
gcc version 3.2.2


Bob



Robert Hoffmann wrote:

> 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