running gpc on Mac OS X 10.7.4

Wolfgang Helbig helbig at lehre.ba-stuttgart.de
Thu Aug 30 19:42:54 CEST 2012


Hi,

Am 30.08.2012 um 01:22 schrieb "Schneider, Thomas (NIH/NCI) [E]" <schneidt at mail.nih.gov>:

> gpc folks:
> 
> I have moved to a new Mac running OS X 10.7.4 and Gnu Pascal now
> doesn't work:
> 
> % more h.p
> program helloworld (output);
> begin
> writeln(output,'hello world');
> end.
> % gpc h.p
> ld: library not found for -lSystemStubs
> collect2: ld returned 1 exit status
> 
> Any suggestions on how to fix this?
> 
This worked for me on 10.8.1
Install Xcode 4.4.1 including the optional command line tools
and run
gpc -Wl,-macosx_version_min,10.5 h.p

Greetings,
Wolfgang


More information about the Gpc mailing list