Hello all.
I just installed gpc on OS X from the microbizz binaries. Simple programs compile ok, but not when I try to use units. Do I need to set env variables in the tcsh ? add a path to the units somewhere ?
Thanks !
Here is an example (is ok without the USES) :
[ip-98-110:~] antoine% cat test.pas program test;
uses gpc; begin writeln ('Hello world'); end.
[ip-98-110:~] antoine% gpc test.pas test.pas:3: module/unit interface `Gpc' could not be imported
[ip-98-110:~] antoine% which gpc /usr/bin/gpc
[ip-98-110:~] antoine% gpc -v 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
[ip-98-110:~] antoine% ls -la /Developer/Pascal/gpc321d3/lib/gcc-lib/powerpc-apple-darwin6.3/3.2.1/ units/dos.pas -rw-rw-rw- 1 antoine staff 23088 Jan 11 04:39 /Developer/Pascal/gpc321d3/lib/gcc-lib/powerpc-apple-darwin6.3/3.2.1/ units/dos.pas [ip-98-110:~] antoine%
On 31 Jan 2003 at 14:51, Antoine Gautier wrote:
Hello all.
I just installed gpc on OS X from the microbizz binaries. Simple programs compile ok, but not when I try to use units. Do I need to set env variables in the tcsh ? add a path to the units somewhere ?
Thanks !
Here is an example (is ok without the USES) :
[ip-98-110:~] antoine% cat test.pas program test;
uses gpc; begin writeln ('Hello world'); end.
[ip-98-110:~] antoine% gpc test.pas
Try "gpc --automake test.pas"
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.bigfoot.com/~african_chief/
That was it. Thanks Chief !
A. Gautier
On Friday, January 31, 2003, at 03:13 PM, Prof A Olowofoyeku (The African Chief) wrote:
On 31 Jan 2003 at 14:51, Antoine Gautier wrote:
Hello all.
I just installed gpc on OS X from the microbizz binaries. Simple programs compile ok, but not when I try to use units. Do I need to set env variables in the tcsh ? add a path to the units somewhere ?
Thanks !
Here is an example (is ok without the USES) :
[ip-98-110:~] antoine% cat test.pas program test;
uses gpc; begin writeln ('Hello world'); end.
[ip-98-110:~] antoine% gpc test.pas
Try "gpc --automake test.pas"
Best regards, The Chief
Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.bigfoot.com/~african_chief/
On 31 Jan 2003 at 17:11, Antoine Gautier wrote:
[ Try "gpc --automake test.pas" ]
That was it. Thanks Chief !
No sweat!
Frank, perhaps we (aka "you") should add the basic GPC arguments (e.g., --automake, --autobuild, and the dialect switches) to the list of things printed with "gpc --help" ?
It could also be useful to have a switch (perhaps the one and same "--help") that would invoke "gpc1 --help" and show the output of that as well. I have done that and kept the output in a text file so that I can use it for quick reference).
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.bigfoot.com/~african_chief/
Prof A Olowofoyeku (The African Chief) wrote:
Frank, perhaps we (aka "you") should add the basic GPC arguments (e.g., --automake, --autobuild, and the dialect switches) to the list of things printed with "gpc --help" ?
It could also be useful to have a switch (perhaps the one and same "--help") that would invoke "gpc1 --help" and show the output of that as well. I have done that and kept the output in a text file so that I can use it for quick reference).
gpc --help --verbose
Frank