🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #390

Re: Compiling 2.2.2 on Decstation - problems!

#390
From: Peter Kocks
Date: Wed, 09 Sep 1992 00:42
30 lines
1759 bytes
In article <1992Sep4.145433.22515@colorado.edu> jamesa@glenn.Berkeley.EDU (Jim Anderson) writes:

[ gcc 2.2.2 will not compile on a decstation ultrix 4.2 ]

Correct.  I do not have the time to give the precise fix, but here is
the problem.

The make file for gcc2.2.2 uses the new gcc compiler to compile the
code equire.c (or something close to that).  Look in the Makefile, it
will say that orginally the makefile used the native compiler for this
code, but they changed it back.  They should not have.  

enquire.c gets the byte ordering for the machine.  It must be compiled

1) With the native compiler (if one exists)
2) Without any optimizations of any kind.
A
Your best bet is to start from scartch, things get messed up if you
don't.  Erase everything, reconfigure and edit the Makefile to compile
enquire with the native cc compiler.  A simple cc -c enquire.c should
be enough.

--Peter Kocks
  kocks@chemistry.stanford.edu

P.S.  When you compile some of your own code, you may run into
conflicts with some of the header files.  Make sure that you include
the /usr/locla/gcc/m...../2.2.2/.../include stuff before /usr/include.
This should be the default but may not be.  If conflicts arize (like
with wait.h copy the /usr/include version and things should work.).
Technical Details
Message-ID: <1992Sep9.004250.16473@leland.Stanford.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!leland.Stanford.EDU!jessica.stanford.edu!kocks
References: <1992Sep4.145433.22515@colorado.edu>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!leland.Stanford.EDU!jessica.stanford.edu!kocks
From: kocks@jessica.stanford.edu (Peter Kocks)
Subject: Re: Compiling 2.2.2 on Decstation - problems!
Message-ID: <1992Sep9.004250.16473@leland.Stanford.EDU>
Sender: news@leland.Stanford.EDU (Mr News)
Organization: Academic Information Resources
References: <1992Sep4.145433.22515@colorado.edu>
Date: Wed, 9 Sep 92 00:42:50 GMT
Lines: 35