Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uunet!olivea!apple!marc From: marc@Apple.COM (Mark Dawson) Newsgroups: comp.sys.mac.programmer Subject: Re: Help on "C++ Programming with MacApp" book needed Message-ID: <49879@apple.Apple.COM> Date: 5 Mar 91 14:39:10 GMT References: <1991Mar3.161029.16931@Informatik.TU-Muenchen.DE> <9612@hub.ucsb.edu> Organization: Apple Computer Inc., Cupertino, CA Lines: 32 In article <9612@hub.ucsb.edu> 6600dtam@ucsbuxa.ucsb.edu (Marc "Tae-Kwon" Tamsky) writes: > >I have the same problem with MacApp and C++... I get: >### Link: Error: Main code (-m option) name not found. (Error 53) %__MAIN >### Link: Error: No Main code module or entry point. (Error 38) >### Link: Errors prevented normal completion. > >on every compile using MABuild. > >I'm using System 6.0.5 on a IIfx, MultiFinder, MPWShell3.2b8, >MacApp2.0.1, C++ v3.1, C v3.1. > >I was about to send a message to apple, but I hope someone >has a solution that they can share. > I believe the problem is that you're linking with the wrong libraries...you should be linking with "{libraries}"runtime.o, NOT "{CLibraries}"CRuntime.o (as you would have in MPW 3.1). Hope this helps, Mark -- --------------------------------- Mark Dawson Service Diagnostic Engineering AppleLink: Dawson.M Apple says what it says; I say what I say. We're different ---------------------------------