🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #51195

Q: how to build a POSIX prog. in SunOS

#51195
From: Francois Yergeau
Date: Tue, 15 Jun 1993 02:08
25 lines
1726 bytes
I'm trying to build a program that claims to be POSIX compatible.
With gcc as installed on my SunOS 4.1 system, the build fails
miserably because of numerous include file conflicts.  If I point gcc
to the SysV include files in /usr/5include, I get this:


/usr/5include/term.h:781: field `Ottyb' has incomplete type
/usr/5include/term.h:782: field `Nttyb' has incomplete type
*** Error code 1

If I define the symbol SYSV on the gcc command line, I get additional
errors but those 2 remain.  And using the SysV cc that comes with
SunOs does not work, as the program in question is written in ANSI C;
so it's gcc or nothing.

Anyone has an idea how to convince gcc to compile in a POSIX
environment?

Mail or post, I'll get it anyway.

-- 
Fran�ois Yergeau (yergeau@phy.ulaval.ca) | Qui se fait brebis le loup
Centre d'Optique, Photonique et Laser    | le mange.
D�partement de Physique                  |
Universit� Laval, Ste-Foy, QC, Canada    |
Technical Details
Message-ID: <1993Jun15.020841.15746@cerberus.ulaval.ca>
Path: arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!mcsun!uknet!pipex!uunet!enterpoop.mit.edu!mcrcim!sifon!cerberus.ulaval.ca!yergeau

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 11318c,616b8c504d8265d2,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-06-14 19:35:18 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!mcsun!uknet!pipex!uunet!enterpoop.mit.edu!mcrcim!sifon!cerberus.ulaval.ca!yergeau
From: yergeau@phy.ulaval.ca (Francois Yergeau)
Subject: Q: how to build a POSIX prog. in SunOS
Content-Type: text/plain; charset=ISO-8859-1
Message-ID: <1993Jun15.020841.15746@cerberus.ulaval.ca>
Keywords: POSIX SunOS gcc
Sender: news@cerberus.ulaval.ca
Nntp-Posting-Host: cornu.phy.ulaval.ca
Content-Transfer-Encoding: 8bit
Organization: Universite Laval, Quebec
Mime-Version: 1.0
Date: Tue, 15 Jun 1993 02:08:41 GMT
Lines: 25