Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!cornell!rochester!udel!mmdf From: papa%pollux.usc.edu@UDEL.EDU Newsgroups: comp.sys.amiga Subject: lattice/MANX bug when compiling large programs Message-ID: <4424@louie.udel.EDU> Date: 3 Oct 88 22:20:21 GMT Sender: mmdf@udel.EDU Lines: 50 Received: from CUNYVM by CUNYVM.BITNET (Mailer X2.00) with BSMTP id 3933; Sat, 01 Oct 88 23:11:44 EDT Received: from UDEL.EDU by CUNYVM.CUNY.EDU (IBM VM SMTP R1.1) with TCP; Sat, 01 Oct 88 23:11:41 EDT Received: from Louie.UDEL.EDU by Louie.UDEL.EDU id aa00572; 1 Oct 88 19:13 EDT Received: from USENET by Louie.UDEL.EDU id aa06520; 1 Oct 88 18:39 EDT From: Marco Papa Subject: lattice/MANX bug when compiling large programs Message-ID: <12499@oberon.USC.EDU> Date: 1 Oct 88 09:06:08 GMT Organization: Felsina Software, Los Angeles, CA To: amiga-relay@UDEL.EDU Sender: amiga-relay-request@UDEL.EDU I am trying to compile a VERY large C program and so far I haven't been successful with either MANX 3.60 or Lattice 4.00. ** start of flame MANX dies with the "infamous" PC-relative bug mentioned recently on the net. I haven't ben able to reach MANX Tech Support ANYWHERE. Jim is "working on 4.0", they say. Lattice 4.00 compiles the program OK, but then dies right away in Blink. Blink returns "error 502: Distance for reloc16 > 32768" with symbol __xcovf or something like that. I am just using the "default" library lc which should be able to address the entire memory. I called Lattice Tech Support and the "idiot" there told me that I should use the "-ml switch to use the large memory model". I explained that I thought he might mistakenly confuse the Amiga C with PC-DOS C, but he said no. Well, lo and behold I was right and the lattice technical idiot was wrong. -ml is a switch of Lattice C for PC DOS and does not exist in the Amiga version. Posting a question on BIX produced nothing. Is there anybody here on the net from SAS Institure, Lattice, or the Software Distillery that can tell me how to get around this bug? Sincerely I prefer NO support (like MANX) to BAD support (like Lattice people that cannot even read their own manuals). In general, it seems that C compilers on the Amiga have a long way to go to become of the same quality of say C compilers under UNIX. ** end of flame Have a good weekend. -- 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] -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=