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 [bluejay:~] ed% gpc datetimedemo.pas gpc: installation problem, cannot exec `as': No such file or directory I cannot locate the file "as" anywhere. What is wrong? Did I do something incorrect in the installation? I would appreciate any assistance you could give me on this matter. Sincerely Ed Stoeffhaas
At 12:55 PM -0600 2/2/03, 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
Can't help with this, sorry
[bluejay:~] ed% gpc datetimedemo.pas gpc: installation problem, cannot exec `as': No such file or directory
I cannot locate the file "as" anywhere.
'which as' on my system (OS X 10.2.3) yields /usr/bin ... What version of OS X are you using? Grant -- ------------------------------------------------------------------- Grant Jacobs Ph.D. BioinfoTools ph. +64 3 476 1820 (office, after 10am) PO Box 6129, or +64 25 601 5917 (mobile) Dunedin, gjacobs@bioinfotools.com NEW ZEALAND. Bioinformatics tools: deriving knowledge from biological data Bioinformatics tools - software development - consulting - training Check out the website for more details: http://www.bioinfotools.com The information contained in this mail message is confidential and may be legally privileged. Readers of this message who are not the intended recipient are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you have received this message in error please notify the sender immed- iately and destroy the original message. This applies also to any attached documents.
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/
Ed Stoeffhaas wrote:
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
[bluejay:~] ed% gpc datetimedemo.pas gpc: installation problem, cannot exec `as': No such file or directory
I have added a FAQ page to <www.microbizz.nl/gpc.html> that answers both questions. Regards, Adriaan van Os
participants (4)
-
Adriaan van Os -
Ed Stoeffhaas -
Grant Jacobs -
Prof A Olowofoyeku (The African Chief)