🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sources.d
Article #1934

Problem compiling enquire4.3 with multipasses

#1934
From: Gregory Larkin
Date: Fri, 31 May 1991 18:08
46 lines
2316 bytes

Hi there,

I have the source to Enquire 4.3 which is supposed to check
the accuracy of your C compiler and its various .h files.
I'm trying to compile it on a small IBM-PC (640K) based UNIX
OS.  There is an option to compile the program in pieces if
the local code generator does not support object files >32K.

I tried this on SunOS and on MINIX, and it broke in both places.
The recommended commands are these:

       cc -DSEP -DPASS0 -o p0.o <other flags> enquire.c
       cc -DSEP -DPASS1 -o p1.o <other flags> enquire.c
       cc -DSEP -DPASS2 -o p2.o <other flags> enquire.c
       cc -DSEP -DPASS3 -o p3.o <other flags> enquire.c
       cc -o enquire p0.o p1.o p2.o p3.o

PASS0 works, but every other pass fails with undefined 
variables, such as this:

/u/mobius/greg/News>cc -DSEP -DPASS1 -o p1.o -DNO_SC enquire.c
"enquire.c", line 1977: maxint undefined
"enquire.c", line 2224: flt_radix undefined
"enquire.c", line 2227: flt_radix undefined
"enquire.c", line 2305: flt_rounds undefined
"enquire.c", line 2309: flt_rounds undefined
"enquire.c", line 2458: maxint undefined
"./enquire.c", line 1977: maxint undefined
"./enquire.c", line 2224: flt_radix undefined
"./enquire.c", line 2227: flt_radix undefined
"./enquire.c", line 2305: flt_rounds undefined
"./enquire.c", line 2309: flt_rounds undefined
"./enquire.c", line 2458: maxint undefined
"././enquire.c", line 1977: maxint undefined

Has anyone ever tried this before?  I tried getting in touch with
the author (steven@cwi.nl), but there hasn't been any response yet. 

Thanks for any help with this,
-- 
Greg Larkin (ASIC Engineer)|"This is a fragile ball we are living on; 
Viewlogic Systems, Inc.    |it's a miracle and we are destroying it.."
293 Boston Post Road West  |Peter Garrett, Midnight Oil               
Marlboro, MA 01752  (greg@Viewlogic.COM)
Technical Details
Message-ID: <1991May31.180826.19081@viewlogic.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!bu.edu!m2c!viewlog.viewlogic.com!greg

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!bu.edu!m2c!viewlog.viewlogic.com!greg
From: greg@suntan.viewlogic.com (Gregory Larkin)
Newsgroups: comp.sources.d
Subject: Problem compiling enquire4.3 with multipasses
Message-ID: <1991May31.180826.19081@viewlogic.com>
Date: 31 May 91 18:08:26 GMT
Sender: news@viewlogic.com
Organization: Viewlogic Systems, Inc., Marlboro, MA
Lines: 46
Originator: greg@mobius
Nntp-Posting-Host: mobius