This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
successful build gcc-3.2.2 solaris x86
- From: Robert Hoffmann <bobx at servermasters dot com>
- To: gcc at gcc dot gnu dot org, steve at smc dot vnet dot net
- Date: Sat, 15 Feb 2003 21:15:06 +0000
- Subject: successful build gcc-3.2.2 solaris x86
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