Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uunet!ogicse!usenet!argus!curreyr From: curreyr@argus.CS.ORST.EDU (Robert W. Currey) Newsgroups: comp.sys.mac.programmer Subject: Re: Help on "C++ Programming with MacApp" book needed Message-ID: <1991Mar04.172038.4060@lynx.CS.ORST.EDU> Date: 4 Mar 91 17:20:38 GMT References: <1991Mar3.161029.16931@Informatik.TU-Muenchen.DE> <9612@hub.ucsb.edu> Sender: @lynx.CS.ORST.EDU Reply-To: curreyr@argus.UUCP (Robert W. Currey) Organization: Oregon State University -- Math Department Lines: 13 Nntp-Posting-Host: math.orst.edu I was also having that problem getting MacApp and C++ to work using MABuild. In the Startup*MacApp file there is a variable defined called MABuildDefaults. This holds the various options you want as the default during the build process. For the linker there is an option -m that I guess tells the linker what the name of the main proedure of your appliucation (Apple can correct me if I wrong since I never did see any reference to this option in the help files). So setting '-m main' in the MABuildDefaults variable should fixx the problem. BTW, I'm using System 7.0b1, MPW 3.2b??, MPW C++ 3.1, MacApp 2.0. -Rob Currey curreyr@argus.math.cs.orst.edu