Path: utzoo!attcan!uunet!husc6!bbn!oberon!pollux.usc.edu!papa From: papa@pollux.usc.edu (Marco Papa) Newsgroups: comp.sys.amiga.tech Subject: lattice/MANX bug when compiling large programs Message-ID: <12499@oberon.USC.EDU> Date: 1 Oct 88 09:06:08 GMT Sender: news@oberon.USC.EDU Reply-To: papa@pollux.usc.edu (Marco Papa) Organization: Felsina Software, Los Angeles, CA Lines: 36 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] -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=