[comp.sys.mac.hypercard] HELP on MPW Pascal complier/linker in 3.2b1

barnett@cc.ic.ac.uk (G.J. Barnett) (02/11/91)

     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