Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!ccu.umanitoba.ca!herald.usask.ca!alberta!ubc-cs!uw-beaver!milton!dali.cs.montana.edu!uakari.primate.wisc.edu!sdd.hp.com!spool.mu.edu!uunet!mcsun!ukc!icdoc!cc.ic.ac.uk!barnett From: barnett@cc.ic.ac.uk (G.J. Barnett) Newsgroups: comp.sys.mac.hypercard Subject: HELP on MPW Pascal complier/linker in 3.2b1 Message-ID: <1991Feb10.224030.20839@cc.ic.ac.uk> Date: 10 Feb 91 22:40:29 GMT Organization: Imperial College Computer Centre Lines: 43 Originator: barnett@cc.ic.ac.uk Nntp-Posting-Host: suni2cc I have been using MPW 2.2 for several years now and have just decided to switch to MPW 3.2b1. When I started using it I was horrified by two things: 1. The Pascal compiler can be up to 10 times slower (on a small routine) 2. Most of my routines will now not link - the only thing I can get to link is an XCMD which simply says 'sendHCMessage('answer "OK"');' Otherwise I get the error : Output must go to exactly one segment when using "-rt" (error 98) I cannot find any tech notes on version 3 bugs but know that my routines worked under v2.2, and they use legal currently documented commands. As I am using the same commands for compiling code, and linking it I am confused because I know it all fits in one segment (or did with MPW 2.2) and it worked OK! I would be most grateful for any help I am running a IIci with system 6.0.5 and 5 megs of memory The commands I use to compile/link is: pascal fn link -m EXECUTEHERE -rt XCMD=8101 -sn Main=fn -t STAK -c WILD fn.o "{mpw}"libraries:libraries:Interface.o "{mpw}"libraries:plibraries:paslib.o "{mpw}"libraries:libraries:ToolLibs.o -o "{mpw}"stackname { note that link lines are all joined into one using funny delta char } ANY HELP would be gratefully received. P.S. what is the latest version of MPW? Thanks in advance, Graham Barnett : barnett@ic.cc.ac.uk