This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
egcs/gcc and solaris x86 V2.6
- To: "'egcs at cygnus dot com'" <egcs at cygnus dot com>
- Subject: egcs/gcc and solaris x86 V2.6
- From: "Dickson, Ross" <ross dot dickson at intel dot com>
- Date: Tue, 14 Jul 1998 16:29:29 -0700
I have several comments on the installation process for egcs/gcc when
working with Solaris 2.6 for x86.
I have been trying to install either gcc or egcs on an x86 based system with
Solaris 2.6 Intel Platform Edition. The only additional software installed
on the system is the Sun WorkShop component "Visual WS C++/Intel". cc -V
produces the output "cc: WorkShop Compilers 4.2 30 Oct 1996 C 4.2". After
running configure in a separate build directory, make bootstrap produced the
error "make: Fatal error: Command failed for target `enquire.o'" which was
preceded by
make CC="cc" libdir=/usr/local/lib LANGUAGES="c"
./xgcc -b./ -DIN_GCC -g -I./include -DNO_MEM -DNO_LONG_DOUBLE_IO -O0 -I. -c
../../egcs-1.0.3a/gcc/enquire.c
../../egcs-1.0.3a/gcc/enquire.c:354: missing white space after number `1'
../../egcs-1.0.3a/gcc/enquire.c:354: unterminated `#if' conditional
*** Error code 1
when I tried compiling gcc 2.6.0 from the CD shipped with "UNIX System
Administration Handbook" by Nemeth et.al. I got a similar error, the last
line was the same but I don't remember seeing the "missing white space"
error. When I attempted to compile gcc 2.8.1 from ftp.gnu.org configure said
"no acceptable cc found in $PATH", the workshop compiler was in the path as
/usr/ucb/cc.
In addition, gnu make gave the same error on configure as gcc 2.8.1 so I was
using /usr/ccs/bin/make when I attempted to make egcs.
Finally, in http://egcs.cygnus.com/install/specific.html there is a line
You'll need a patch to fix an egcs bug on this platform. x86 solaris patch
where "x86 solaris patch" is a link to
http://www-egcs.cygnus.com/faq.html#x86solaris which does not work due to
the "www-" at the beginning.
Ross Dickson
Compatibility Validation
Intel