public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* egcs/gcc and solaris x86 V2.6
@ 1998-07-14 16:57 Dickson, Ross
  1998-07-15  4:15 ` Gerald Pfeifer
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Dickson, Ross @ 1998-07-14 16:57 UTC (permalink / raw)
  To: 'egcs@cygnus.com'

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: egcs/gcc and solaris x86 V2.6
  1998-07-14 16:57 egcs/gcc and solaris x86 V2.6 Dickson, Ross
@ 1998-07-15  4:15 ` Gerald Pfeifer
  1998-07-15  6:45 ` Gerald Pfeifer
  1998-07-16  0:32 ` Jeffrey A Law
  2 siblings, 0 replies; 5+ messages in thread
From: Gerald Pfeifer @ 1998-07-15  4:15 UTC (permalink / raw)
  To: Dickson, Ross; +Cc: egcs

On Tue, 14 Jul 1998, Dickson, Ross wrote:
> 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.

Hmm, just an idea: What happens if you do `setenv CC /usr/ucb/cc` or
similar before running ./configure?

Gerald
-- 
Gerald Pfeifer (Jerry)      Vienna University of Technology
pfeifer@dbai.tuwien.ac.at   http://www.dbai.tuwien.ac.at/~pfeifer/


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: egcs/gcc and solaris x86 V2.6
  1998-07-14 16:57 egcs/gcc and solaris x86 V2.6 Dickson, Ross
  1998-07-15  4:15 ` Gerald Pfeifer
@ 1998-07-15  6:45 ` Gerald Pfeifer
  1998-07-15 11:36   ` Jeffrey A Law
  1998-07-16  0:32 ` Jeffrey A Law
  2 siblings, 1 reply; 5+ messages in thread
From: Gerald Pfeifer @ 1998-07-15  6:45 UTC (permalink / raw)
  To: Dickson, Ross; +Cc: egcs, egcs-patches

On Tue, 14 Jul 1998, Dickson, Ross wrote:
> I have several comments on the installation process for egcs/gcc when
> working with Solaris 2.6 for x86.

Thanks!

> 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.

While this won't solve your problem, here is a patch to correct this and
update the entry on the web/in the docs.

Gerald


Index: specific.html
===================================================================
RCS file: /egcs/carton/cvsfiles/wwwdocs/htdocs/install/specific.html,v
retrieving revision 1.9
diff -c -3 -p -r1.9 specific.html
*** specific.html	1998/07/14 03:01:40	1.9
--- specific.html	1998/07/15 11:10:20
*************** tell you what you're running) require TL
*** 28,35 ****
  C++ constructors and destructors to work right.
  
  <p><b>i?86-pc-solaris*</b><br>
! You'll need a patch to fix an egcs bug on this platform.
! <a href=" http://www-egcs.cygnus.com/faq.html#x86solaris "> x86 solaris patch</a>
  
  <p><b>hppa*-hp-hpux*</b><br>
  We <b>highly</b> recommend using gas/binutils-2.8 on all hppa platforms; you
--- 28,36 ----
  C++ constructors and destructors to work right.
  
  <p><b>i?86-pc-solaris*</b><br>
! For versions of egcs before 1.0.1 you'll need a special
! <a href=" http://egcs.cygnus.com/faq.html#x86solaris ">x86 solaris patch</a>
! to fix an egcs bug on this platform.
  
  <p><b>hppa*-hp-hpux*</b><br>
  We <b>highly</b> recommend using gas/binutils-2.8 on all hppa platforms; you
*************** exception handling 
*** 123,129 ****
  <p>XXX Linux stuff
  -k encaps stuff
  <hr>
! <i>Last modified on May 15, 1998.</i>
  
  <!--#include virtual="/glimpsebox.html"-->
  </body>
--- 124,130 ----
  <p>XXX Linux stuff
  -k encaps stuff
  <hr>
! <i>Last modified on July 15, 1998.</i>
  
  <!--#include virtual="/glimpsebox.html"-->
  </body>



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: egcs/gcc and solaris x86 V2.6
  1998-07-15  6:45 ` Gerald Pfeifer
@ 1998-07-15 11:36   ` Jeffrey A Law
  0 siblings, 0 replies; 5+ messages in thread
From: Jeffrey A Law @ 1998-07-15 11:36 UTC (permalink / raw)
  To: Gerald Pfeifer; +Cc: Dickson, Ross, egcs, egcs-patches

  In message < Pine.GSO.4.00.9807151310430.16276-100000@markab.dbai.tuwien.ac.at >you write:
  > > 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 patc
  > h 
  > > 
  > > 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.
  > 
  > While this won't solve your problem, here is a patch to correct this and
  > update the entry on the web/in the docs.
Thanks!  Installed.
jeff

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: egcs/gcc and solaris x86 V2.6
  1998-07-14 16:57 egcs/gcc and solaris x86 V2.6 Dickson, Ross
  1998-07-15  4:15 ` Gerald Pfeifer
  1998-07-15  6:45 ` Gerald Pfeifer
@ 1998-07-16  0:32 ` Jeffrey A Law
  2 siblings, 0 replies; 5+ messages in thread
From: Jeffrey A Law @ 1998-07-16  0:32 UTC (permalink / raw)
  To: Dickson, Ross; +Cc: 'egcs@cygnus.com'

  In message < B38DE02578EBD111AC4200A0C95D19EE341A0D@orsmsx30.jf.intel.com >you write:
  > 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.
Sounds like something has a bogus definition of __STDC__.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1998-07-16  0:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-07-14 16:57 egcs/gcc and solaris x86 V2.6 Dickson, Ross
1998-07-15  4:15 ` Gerald Pfeifer
1998-07-15  6:45 ` Gerald Pfeifer
1998-07-15 11:36   ` Jeffrey A Law
1998-07-16  0:32 ` Jeffrey A Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).