🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.misc.discuss
Article #74963

Re: gnu ports to inexpensive unix

#74963
From: Michael Bloom
Date: Wed, 09 Jan 1991 01:19
44 lines
2852 bytes
In article <1991Jan8.060152.16548@uicbert.eecs.uic.edu> woodward@uicbert.eecs.uic.edu (Jeff Woodward) writes:

> have just gotten gcc 1.37 and am trying to bring it up on my
>home box, a generic 386 clone running ESIX System V unix.

>2.) the notes accompanying the binutils which discuss building a
>COFF-ENCAPSULATED system V gnu development system ( i.e. file
>README-ENCAP in binutils ) are simply not correct.  the instructions
>claim that one ought to first build gcc with the i386-sysv-gas 
>configuration, and then to build the gas assembler and gnu binutils.
>not so!  the i386-sysv-gas requires, by assumption, gas and gnu ld
>to be available for the building process, so this method cannot work.
 
>have gotten gcc, gas, and gnu ld to compile individually, so i now
>hope to use the i386-sysv-gas option.  ... if only i could figure
>out why ld bites the big one on the system V crt0.o file, and how
>i can fix this since gnu robotussin won't eat crt0.o either. =sigh=

FORGET trying to use coff encapsulation.  The robotussin stuff is 
a nightmare, and  despite FSF claims to the contrary, they don't really
support it.

Much simpler, and easier to use (although also not supported by FSF)
is the set of coff patches available in the file:
	tut.cis.ohio-state.edu:/pub/gnu/coff/gnu-coff.tar.Z

These patches add an additional output stage to an otherwise essentially
unmodified "gas" causing it to produce coff output files which can be used
with the native loader.

The debug info is dbx format rather than sdb format, however (encoded as
"stabs" - string-table debug info).  Thus, native tools will see the debug
symbols as plain non-debug symbols. 

A set of patches for gdb are also included.  Aside from some bug
fixes, these patches add a routine that converts the dbx debug info in
coff files into gdb's internal format (for those familiar with gdb
internals, the routine gets called from "fill_symbuf()".  The
debugging capabilities are significantly better than they would be
with an sdb style encoding of debug information.

Except for the gas 1.36, gcc, and gdb sources themselves, the patch set
contains everything you need for an ESIX system, including appropriate
config files for gcc and gdb.
Technical Details
Message-ID: <22501@ttidca.TTI.COM>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cs.utexas.edu!usc!hacgate!ashtate!psivax!ttidca!mb
References: <1991Jan8.060152.16548@uicbert.eecs.uic.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1025b4,80c92e90720e1ed8
X-Google-Attributes: gid1025b4,public
X-Google-ArrivalTime: 1991-01-09 13:05:00 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cs.utexas.edu!usc!hacgate!ashtate!psivax!ttidca!mb
From: mb@ttidca.TTI.COM (Michael Bloom)
Newsgroups: gnu.misc.discuss
Subject: Re: gnu ports to inexpensive unix
Keywords: ESIX esix i386
Message-ID: <22501@ttidca.TTI.COM>
Date: 9 Jan 91 01:19:16 GMT
References: <1991Jan8.060152.16548@uicbert.eecs.uic.edu>
Distribution: gnu
Organization: Citicorp/TTI, Santa Monica
Lines: 44