Hiya,
I've been looking for a Pascal compiler for OS X for a while now, so was very glad to find one here http://www.microbizz.nl/gpc.html However, I've been having some problems with installing it.
I ran the installer, and applied the fixes, however when we try to run gpc on a test file we get an error:
[sven:~] aubrey% gpc test.pas gpc: installation problem, cannot exec `as': No such file or directory
So we don't seem to have the assembler. There seems also not to be a linker or "make", both of which I expect we need. Can anyone tell me where we could get hold of these?
Lastly, is there anything else not in the package and not standard in OSX itself we need to get? (I have of course installed the Developers tools)
Thanks
Chihiro ---------------------------------------------------------------------- Chihiro Yamada.
FlyBase (Cambridge), http://fly.ebi.ac.uk:7081/ Department of Genetics, University of Cambridge, email: c.yamada@gen.cam.ac.uk Downing Street, Tel : 01223-333963 Cambridge, CB2 3EH, FAX : 01223-333992 United Kingdom. Memes don't exist. Spread the Word. ----------------------------------------------------------------------
Chihiro Yamada wrote:
[sven:~] aubrey% gpc test.pas gpc: installation problem, cannot exec `as': No such file or directory
So we don't seem to have the assembler. There seems also not to be a linker or "make", both of which I expect we need. Can anyone tell me where we could get hold of these?
You are right, Mac OS X doesn't come with an assembler and linker installed. I recommend:
(1) Get the Mac OS X.2 (or later) system software CD’s and run the installer for "BSD Subsystem". (2) Get an installer for either GCC or Apple’s ProjectBuilder. This will install "as" and "ld" automatically. To get it, you must be an ADC (Apple Developer Connection) member, but the ADC online program is free of charge. Checkin with https://connect.apple.com. The software is also on ADC Developer CD's.
I hope I will get permission to distribute Apple's "as" and "ld" with the gpc compiler in a future release.
Lastly, is there anything else not in the package and not standard in OSX itself we need to get? (I have of course installed the Developers tools)
Not that I know. You may want to download some interesting libraries from <www.gnu-pascal.de/libraries.html>.
Regards,
Adriaan van Os