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 Linker/Librarian Message-ID: <159@axiom.UUCP> Date: Wed, 5-Feb-86 16:14:29 EST Article-I.D.: axiom.159 Posted: Wed Feb 5 16:14:29 1986 Date-Received: Fri, 7-Feb-86 20:38:31 EST Organization: Axiom Technology, Newton MA Lines: 30 I have a strange problem with version 2.1 of the Megamax development system. I have a program conisting of about 10 .o files, which work fine when linked together. The resulting compiled program is about 26K. When I take the .o files, and add them all to a library, and link the resulting library, I get very different results. The resulting program is only 24K, and fails misserably. The first time I ran it, the cursor was funny, and then touching the menu bar caused a system bomb. I figured that the 'smart linker' might have gotten too smart, and tried to get rid of all static functions, since it didn't see any references to them, so I #defineded static to extern. This produced the same sad results. Debugging is VERY difficult, since Megamax provides NO DEBUGGING tools. The closest thing to a debugger is a disassembler, which only works on .o files (and is therefore of no help here!). Any hints? The librarian isn't completely broken since I can get the same thing out, when I put stuff in. Also, the linker isn't completely broken since the toolbox interface is in syslib! HELP! Appropriate Remarks, Lewis. -- ---------- The facts expressed herein are subject to change without notice. UUCP: {humming,linus,security,harvard}!lewis@axiom.UUCP