Tom Schneider wrote:
Adriaan:
I downloaded from
http://www.microbizz.nl/gpc.html
GNU Pascal 3.4.5u2 installer for Mac OS X 10.4 PowerPC (PowerPC native and Intel cross compiler) (16.4 MB)
to my
Max OSX version 10.4.3 Power PC G4
It unpackaged ok and I have now
/Developer/Pascal/
Then I went to /tmp and made:
program tboy(output); begin writeln(output,'go to sleep!!'); end.
I tried this:
/Developer/Pascal/gpc345u2/bin/gpc test.p
and got:
[bluebird:~/now/t] tds% /Developer/Pascal/gpc345u2/bin/gpc test.p /usr/bin/ld: can't locate file for: -lSystemStubs collect2: ld returned 1 exit status
Then
/Developer/Pascal/gpc345u2/bin/gp test.p
and got
[bluebird:~/now/t] tds% /Developer/Pascal/gpc345u2/bin/gp test.p /usr/bin/ld: can't locate file for: -lSystemStubs collect2: ld returned 1 exit status
That is strange, on Mac OS X 10.4 libSystemStubs.a can be found in /usr/lib. But -- maybe they are installed as part of Xcode instead of the system software, did you install Xcode 2.x ?
Hmm. I could not locate simple examples of how to run the compiler.
A small example test directory would help.
A small look in /Developer/Pascal/gpc345u2/doc/gpc would help also.
Oh, also, the ReadMe.rtf that came in the package is not the same as
/Developer/Pascal/README.rtf
which is confusing.
Oh, I am really sorry you had to read two Readme files.
Adriaan van Os