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