🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #42237

gcc-2.7.2 INSTALL question

#42237
From: Martin J. Maiers
Date: Wed, 03 Jan 1996 00:00
50 lines
2168 bytes
In the gcc-2.7.2 distribution, the "INSTALL" file states:

  2. On a System V release 4 system, make sure `/usr/bin' precedes
     `/usr/ucb' in `PATH'.  The `cc' command in `/usr/ucb' uses
     libraries which have bugs.


I'm trying to install gcc-2.7.2 on a Solaris 2.4 (SVR4) system.

There is no cc in /usr/bin.

The cc in /usr/ucb is a sript that eventually references /usr/ccs/bin/ucbcc 
(which is in turn symlink to /opt/SUNWspro/SC3.0/bin/acc).

--

Has anyone built gcc-2.7.2 using's Sun's C compiler?  Do the libraries
it uses have "bugs" as the INSTALL document would suggest?

I get the following error(s):

In file included from cccp.c:67:
include/sys/stat.h:86: parse error before `timestruc_t'
include/sys/stat.h:86: warning: no semicolon at end of struct or union
include/sys/stat.h:87: warning: data definition has no type or storage class
include/sys/stat.h:88: parse error before `st_ctim'
include/sys/stat.h:88: warning: data definition has no type or storage class
include/sys/stat.h:93: parse error before `}'
cccp.c: In function `do_include':
cccp.c:4656: storage size of `stat_f' isn't known
cccp.c:4666: storage size of `s' isn't known
cccp.c: In function `lookup_import':
cccp.c:5173: storage size of `sb' isn't known
cccp.c: In function `add_import':
cccp.c:5216: storage size of `sb' isn't known
cccp.c: In function `file_size_and_mode':
cccp.c:10064: storage size of `sbuf' isn't known
make: *** [cccp.o] Error 1




Thanks in advance,
Martin
--
Martin Maiers, System Administrator             maiers@biosci.umn.edu
Advanced Biosciences Computing Center           (612) 624-7471
247 Gortner Labs, 1479 Gortner Ave              (612) 625-9284 (HelpLine)
St. Paul, MN 55108-1022                         (612) 625-5780 (FAX)
Technical Details
Message-ID: <4ceis1$37a@epx.cis.umn.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,7d13988e8bc4a71c,start
X-Google-Attributes: gid11318c,public
From: maiers@biosci.cbs.umn.edu (Martin J. Maiers)
Subject: gcc-2.7.2 INSTALL question
Date: 1996/01/03
Message-ID: <4ceis1$37a@epx.cis.umn.edu>
X-Deja-AN: 133862866
organization: University of Minnesota
newsgroups: gnu.gcc.help