🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #49398

Re: Help compiling gcc 2.5.8 on SPARC 2

#49398
From: Jerry Frain
Date: Sat, 05 Feb 1994 03:28
33 lines
2061 bytes
john@granada.mit.edu (John Forest Olson) writes:

>I am trying to compile gcc 2.5.8, and it dies with an error in libgcc2:

>-=-=-=-=-=-=-=
>_eprintf
>In file included from ./libgcc2.c:1345:
>/usr/local/include/stdio.h:27: features.h: No such file or directory
>*** Error code 1
>make: Fatal error: Command failed for target `libgcc2.a'
>-=-=-=-=-=-=-=
>Sure enough, line 27 of /usr/local/include/stdio.h is
>#include <features.h>
>and no such file is anywhere that I can find.  Any hints?

I've seen something like this when compiling a program on a solaris
2.2 (or earlier) system with a version of gcc compiled on solaris 2.3.
The solaris 2.3 stdio.h includes <sys/feature_tests.h>, but the
solaris 2.2 stdio does not.

The gcc build on solaris 2.3 ran fixincludes over the 2.3 header files
(naturally), and made a stdio.h that includes <sys/feature_test.h>,
but when compiling on a solaris 2.2 system that doesn't have that
header file, it barfs.

Now, I know you said <features.h>, not <sys/feature_test.h> and you
didn't say if you were running sunos or solaris, but you might watch
our for OS changes like the one I described above.

--
Jerry Frain             | TIVOLI Systems, Inc.        | Phone: (512) 502-4694
                        | 6034 W. Courtyard Dr. #210  |   FAX: (512) 794-0623
Jerry.Frain@Tivoli.COM  | Austin, TX 78730, USA       |
Technical Details
Message-ID: <jerry.760418897@kenya>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!att-in!news.bu.edu!olivea!spool.mu.edu!howland.reston.ans.net!cs.utexas.edu!geraldo.cc.utexas.edu!tivoli.tivoli.com!jerry
References: <2iumu4$9hi@senator-bedfellow.MIT.EDU>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,b1a450d8d6153ec3
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1994-02-05 05:25:01 PST
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!att-in!news.bu.edu!olivea!spool.mu.edu!howland.reston.ans.net!cs.utexas.edu!geraldo.cc.utexas.edu!tivoli.tivoli.com!jerry
From: jerry@tivoli.com (Jerry Frain)
Newsgroups: gnu.gcc.help
Subject: Re: Help compiling gcc 2.5.8 on SPARC 2
Date: 5 Feb 94 03:28:17 GMT
Organization: Tivoli Systems, Inc.
Lines: 33
Message-ID: <jerry.760418897@kenya>
References: <2iumu4$9hi@senator-bedfellow.MIT.EDU>
NNTP-Posting-Host: kenya.tivoli.com