🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #9973

Re: lattice/MANX bug when compiling large programs

#9973
From: Marco Papa
Date: Wed, 05 Oct 1988 03:32
29 lines
2282 bytes
In article <634@sas.UUCP> walker@sas.UUCP (Doug Walker) writes:
>The REALLY interesting thing is that the original question and the correct
>answer both arrived here at SAS Institute on the same day.  This might
>explain why the Institute and the Software Distillery (whose members use
>the Institute as a news feed) failed to respond.
>
>(It also doesn't help that John Toebes is out of town. . .)

The SAD thing is that even after succesful compilation and linking the 
program, when run, GURUs right away.  And this is a program that uses no
Amiga-specific routines, just stdio.h and ANSI C code.  It compiles and
runs fine on at least 3 UNIX-based systems.  Since there are no debuggers
provided with Lattice (and I cannot use MANX's SDB), the only thing I can
use is MANX's db (gulp!). Would anybody at Lattice/SAS Institute be
interested in getting the source code of this and take a look at it?

I also tried the suggestions about getting it to run with MANX C and
fix the PC-relative bug.  The only thing I can say is that the PC-relative
bug is generated with "large" switch statements.  Unfortunately in my case,
I cannot simply substitute an 'x' with a 'y' and get it to work: I don't
have such cases in my switch statements.  Too bad that MANX has decided to
just work on 4.0 and leave 3.6 users waiting for the new version (when? 1989?)
without fixing the bugs in 3.6.

-- Marco Papa 'Doc'
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
uucp:...!pollux!papa       BIX:papa       ARPAnet:pollux!papa@oberon.usc.edu
 "There's Alpha, Beta, Gamma and Diga!" -- Leo Schwab [quoting Rick Unland]
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID: <12572@oberon.USC.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!cbmvax!rutgers!mailrus!ames!elroy!cit-vax!oberon!pollux.usc.edu!papa
References: <12499@oberon.USC.EDU> <6439@batcomputer.tn.cornell.edu> <12521@oberon.USC.EDU> <634@sas.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!cbmvax!rutgers!mailrus!ames!elroy!cit-vax!oberon!pollux.usc.edu!papa
From: papa@pollux.usc.edu (Marco Papa)
Newsgroups: comp.sys.amiga.tech
Subject: Re: lattice/MANX bug when compiling large programs
Message-ID: <12572@oberon.USC.EDU>
Date: 5 Oct 88 03:32:05 GMT
References: <12499@oberon.USC.EDU> <6439@batcomputer.tn.cornell.edu> <12521@oberon.USC.EDU> <634@sas.UUCP>
Sender: news@oberon.USC.EDU
Reply-To: papa@pollux.usc.edu (Marco Papa)
Organization: Felsina Software, Los Angeles, CA
Lines: 29