www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1998/11/25/22:31:43

X-pop3-spooler: POP3MAIL 2.1.0 b 4 980420 -bs-
X-Authentication-Warning: basis.Desk.nl: listserv set sender to owner-beastium-list AT basis DOT desk DOT nl using -f
Message-Id: <199811252217.RAA12735@indy1.indy.net>
From: "Steve Snyder" <ssnyder AT indy DOT net>
To: "PGCC Mailing List" <beastium-list AT desk DOT nl>
Date: Wed, 25 Nov 1998 17:16:51 -0500 (EST)
Reply-To: "Steve Snyder" <ssnyder AT indy DOT net>
X-Mailer: PMMail 2.00.1500 for OS/2 Warp 4.00
MIME-Version: 1.0
Subject: How to build groff/LinuxMachineDefines /w PGCC?
Sender: Marc Lehmann <pcg AT goof DOT com>
Status: RO
X-Status: A
Lines: 21

When attempting build groff-1.11 with pgcc v1.1a, the build quits with this
error (the first few lines are wrapped - sorry):

gcc -O   -I./lib/Xt -I.  -I/usr/X11R6/include -I/include  -Dlinux LinuxMachineDe
fines -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE=500L -D_BSD_SOUR
CE -D_SVID_SOURCE   -DFUNCPROTO=15 -DNARROWPROTO   -DFONTPATH=\".:/usr/lib/groff
/font:/usr/local/lib/font:/usr/lib/font\"    -c xditview.c -o xditview.o        

gcc: cannot specify -o with -c or -S and multiple compilations                  
make: *** [xditview.o] Error 1                                                  

I believe that the problem is LinuxMachineDefines, which is taken to be a
source file.  This is a recurring problem with egcs/pgcc; it is seen with
XFree86 also.

Anyone know which file to tweak to get groff to build?

Thank you.


*** Steve Snyder ***

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019