Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site axiom.UUCP Path: utzoo!watmath!clyde!burl!ulysses!gamma!epsilon!zeta!sabre!petrus!bellcore!decvax!linus!axiom!lewis From: lewis@axiom.UUCP (Lewis Gordon Pringle Jr.) Newsgroups: net.micro.mac Subject: Megamax C problems Message-ID: <155@axiom.UUCP> Date: Wed, 29-Jan-86 15:49:39 EST Article-I.D.: axiom.155 Posted: Wed Jan 29 15:49:39 1986 Date-Received: Sat, 1-Feb-86 02:02:24 EST Organization: Axiom Technology, Newton MA Lines: 37 miles@siemens.UUCP writes: >successfully run on UNIX. After compiling the modules without error I >get an error from the Megamax linker that reads: > Segment 'main' > 32K > Press RETURN to continue Because of the way the Macintosh Segment Loader works (2 bytes offset in jump tables), mac code segments are limmited to 32K. I think that you will find that ALL Mac C compilers, will have the same complaint. > Additionally, a few of my compiled modules won't link at all. When I >add them to the list of modules to link I receive a message like: > Couldn't find (some) label(s) > $19 $27 $56 > Press RETURN to continue > Removing these modules from the list of modules to link stops this error >from occurring but doesn't really solve my problem. What version of the MagHax system are you using? Are you using the batch thingy ? What could have happened if you were, is that you ran the compiler, it produced errors, and a .o file, and the batch guy just continued on its way merrily linking. The compiler DOES produce a .o file when it fails, and the linker does barf in a manner simmilar to the one that you described when given the result of a failed compile. Be sure to check the 'status ()' of compiles in batch files. Appropriate Remarks, Lewis. -- ---------- The facts expressed herein are subject to change without notice. UUCP: {humming,linus,security,harvard}!lewis@axiom.UUCP