🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #6832

GNU-C configuration info wanted

#6832
From: Daniel A. Glasser
Date: Fri, 08 Dec 1989 20:22
63 lines
3466 bytes
I've recently FTP'ed the binaries for GNU-C 1.35 and the 1.36 executable
zoo from the Terminator archive and have attempted to use it for building
NetHack 3.0 pl 3 according to the makefile and other docs (makefile.tos
and install.dos) and have come up with a few problems: (The notation [*]
is used when a given number (1=[*], 2=[**], etc.) of bombs accompanied the
failure)

    The compiler does not seem to like "#include <sys/whatever>"
	I had to change these all to "#include <sys\whatever>".

    Makedefs.prg does not work correctly -- it appears to be a
	problem with the printf function in the gcc library on
	terminator which makes %d (in the 16 bit library) display
	(and consume from the stack) long values.  Also, the
	freopen seems always to fail [**].  I hacked around this problem
	and then came to problem # 3 --

    The make dies about 2/3 of the way through do to file-not-found's
	from #include directives.  Restarting the make with appropriate
	changes to the makefile got me through to having all of the
	files compiled.  Then

    Gld died (***) when invoked from the makefile.  Some of this seems to
	be because of too many arguments on the command line.  I searched
	the sources for an older version of gld and discovered that I
	could create a file containing the names of objects to be
	linked and use "@linkfile" on the gld command line to use it.

    Once I finally got a nethack.ttp file out of all of this (after several
	days of hair pulling and head banging), attempting to run that
	file didn't work (**).

Has anybody put together a configuration of GCC running on an ST that
works?

My set-up is a Mega ST-4 with 68 meg of hard disk, TOS 1.2 and a Mono-monitor.
I have FOLDR400.PRG in my auto directory, and I run gnu-make from under
a modified MWC shell.

I've read of an improved and fixed library available on "bammi's machine",
but my FTP site has never heard of it by the name I have for it, and no
number was given for that site.  Someone should put the updated libraries
on terminator with the other ST specific GNU stuff.  The "\" vs "/" stuff
seems to be a difference in CPP versions.  I can find no documentation on
gld, gas, or the GNU C library.  I have TeX/LaTeX and texinfo.tex, a laser
printer and the associated DVI-to-laser program so I can print out any
documentation from the .texinfo sources, if they exist.

Can anyone give me pointers, descriptions, how-to's or other advice?
I've got TOS 1.4 on order, and will install it sometime in the next two
weeks (I hope).

I can be reached directly via uucp mail at uwvax!per2!dag.  uusend does
not work to this site, so please don't try it.  I have FTP access through
a guest account on a machine nearby.

Thanks in advance --
					Daniel A. Glasser
-- 
 _____________________________________________________________________________
    Daniel A. Glasser                           One of those things that goes
    uwvax!per2!dag                              "BUMP!!!(ouch)" in the night. 
 ---Persoft, Inc.---------465 Science Drive-------Madison, WI 53711-----------
Technical Details
Message-ID: <882@per2.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!uwvax!per2!dag

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!uwvax!per2!dag
From: dag@per2.UUCP (Daniel A. Glasser)
Newsgroups: comp.sys.atari.st
Subject: GNU-C configuration info wanted
Keywords: GNU-C configuration
Message-ID: <882@per2.UUCP>
Date: 8 Dec 89 20:22:32 GMT
Organization: Persoft Inc., Madison, WI
Lines: 63