🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #53610

Re: Help on a SCO '386

#53610
From: Michael Traub
Date: Mon, 14 Oct 1991 10:16
38 lines
2059 bytes
In article <1991Oct14.021348.23224@wisdom.bubble.org> jeff@wisdom.bubble.org (Jeff Ross) writes:
>I am in need of some help in compiling GCC on a SCO SVR3.2v2.0
>
>I have followed the directions included with the distribution.  this is
>what I have done:
>
>removed the "-O" from any CCLIBFLAGS line that was uncommented.
>uncommented the lines dealing with SCO specifically, set CC and OLDCC 
>to rcc and removed limits.h from USER_H
>
>I then ran the "config.gcc i386-sco" then started the "make" the make
>seemed to run correctly at the begining, then produced the following:
>is there anything special I need to do before gcc will compile??
>
>				Jeff
>
>	rcc -c -g   -I. -I. -I./config toplev.c
>"/usr/include/setjmp.h", line 68: warning: undeclared initializer name _JBLEN
>"/usr/include/setjmp.h", line 68: constant expected
>"toplev.c", line 490: warning: illegal pointer combination, op =
>"toplev.c", line 531: warning: illegal pointer combination, op ==
>*** Error code 1
>

Add  "-Di386"  to  your CFLAGS as this is not added by default
when  using  rcc and is needed by some of SCO's include files.

To be absolutely sure you could add all of the following:

-DM_I86   -DM_I86SM  -DM_SDATA  -DM_STEXT  -DM_I386  -DM_XENIX
-DM_BITFIELDS    -Di386=1   -DM_INTERNAT   -Dunix=1   -DM_UNIX
-DM_COFF -DM_SYS5 -DM_SYSV -DM_SYS3 -DM_SYSIII -DM_WORDSWAP

though I think most of them are pretty useless!


Michael Traub
BT Customer Systems, Brighton Systems Centre. traub@rtf.bt.co.uk
Technical Details
Message-ID: <1991Oct14.101611.27591@rtf.bt.co.uk>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uknet!ukc!ukc!axion!rtf.bt.co.uk!traub
References: <1991Oct14.021348.23224@wisdom.bubble.org>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,fc36f8af8d586923
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1991-10-14 06:50:56 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uknet!ukc!ukc!axion!rtf.bt.co.uk!traub
From: traub@rtf.bt.co.uk (Michael Traub)
Newsgroups: gnu.gcc.help
Subject: Re: Help on a SCO '386
Message-ID: <1991Oct14.101611.27591@rtf.bt.co.uk>
Date: 14 Oct 91 10:16:11 GMT
References: <1991Oct14.021348.23224@wisdom.bubble.org>
Organization: BT Customer Systems, Brighton, UK
Lines: 38