On 2 Feb 2003 at 12:55, Ed Stoeffhaas wrote:
Hi Adriann,
Thanks for your suggestions.
I downloaded and installed the binary package of the gpc pascal compiler yesterday. It seemed to install easily and without problem. When I type "gpc" I get the expected output:
"Reading specs from /Developer/Pascal/gpc321d3/lib/gcc-lib/powerpc-apple-darwin6.3/3.2.1/ specs Configured with: ../gpc-3.2.1/configure --enable-languages=pascal,c --prefix=/Developer/Pascal/gpc321d3 Thread model: single gpc version 20021128, based on gcc-3.2.1"
But when I try to compile a program, I get the following errors, even for these two demo programs included with the package:
[bluejay:~] ed% gpc factorial.pas factorial.pas:31: module/unit interface `Gpc' could not be imported
I believe this is a FAQ. You should do:
"gpc --automake factorial.pas"
[bluejay:~] ed% gpc datetimedemo.pas gpc: installation problem, cannot exec `as': No such file or directory
I cannot locate the file "as" anywhere.
I believe that "as" is part of the GNU binutils. That's what you need to get.
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.bigfoot.com/~african_chief/