Forwarding the private reply:
Hi Adriaan,
Thanks so much for your help - the program now works fine. I tried installing the compiler a long time ago, before the Xcode environment existed, and could never get anywhere with it, but it looks absolutely great now it works with Xcode - easy enough for me to use!
Thanks again,
Graham
Graham Carter wrote:
Examples/SillyBalls/Sources/MainProgram.pas gpc1: error: invalid option `dynamic-no-pic'
I still have to update the GPC Xcode Kit, but you can apply the following change to make it work. For IntelMac, please double-click on the "Debug" Target. Then, in the Build Settings pane, change
GPC_CODESTYLE = -mdynamic-no-pic
to
GPC_CODESTYLE =
The -mdynamic-no-pic option is not (yet) supported for IntelMac. Same procedure for the "Deploy" Target.
The best place to ask Xcode specific questions is really the MacPascal mailing list http://www.pascal-central.com/maillist.html.
Regards,
Adriaan van Os