🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.scheme.c
Article #251

hp9000s800 change required

#251
From: Jeff Caldwell
Date: Fri, 12 Jan 1990 01:02
27 lines
1597 bytes
Hello-
I am an engineer in HP and recently (1/11/89) attempted to build scheme on
an HP-UX version 7.0 operating system.  As a result of various standards
conformance requirements, including ANSI C conformance, the current code 
will abort with C compile time errors from mismatched type declarations 
of certain system functions such as fread, fwrite, geteid, lseek, and others.
The first two lines of RCS.log from my scheme package are:
   file: compiler/fgopt/desenv.scm;  revision: 4.3
   date: 89/07/12 00:14:16 GMT;  author: cph;  state: Rel

A simple solution has been provided by HP that works nicely with your 
build automation.  By adding the following line to your CFLAGS in your
makefile you will avoid the compile errors:

   -D_CLASSIC_POSIX_TYPES -D_CLASSIC_ANSI_TYPES \

The resulting CFLAGS definition would then be:

CFLAGS = -O  -Dspectrum  \
        -D_CLASSIC_POSIX_TYPES -D_CLASSIC_ANSI_TYPES \
        -DCOMPILE_HISTORY $(MACHINE_SWITCHES)

This will not have any affect on prior HP-UX 7.0 systems and should provide
for transparent compatibility between prior 7.0 and beyond releases.

		-Jeff Caldwell  | HP California Language Lab
				 
Technical Details
Message-ID: <9001120003.AA00978@sde.hp.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!apple!snorkelwacker!bloom-beacon!HPCLLMV.HP.COM!jbc

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!apple!snorkelwacker!bloom-beacon!HPCLLMV.HP.COM!jbc
From: jbc@HPCLLMV.HP.COM (Jeff Caldwell)
Newsgroups: comp.lang.scheme.c
Subject: hp9000s800 change required
Message-ID: <9001120003.AA00978@sde.hp.com>
Date: 12 Jan 90 01:02:39 GMT
Sender: daemon@athena.mit.edu (Mr Background)
Distribution: inet
Organization: The Internet
Lines: 27