On Fri, 7 Nov 2003, Prof. A Olowofoyeku (The African Chief) wrote:
On 7 Nov 2003 at 11:45, Ian Miller wrote:
Hi,
I realise this is probably more of a MinGW problem than a GNU Pascal problem, but I thought someone here might know the solution. I've seen a few similar reports in the mailing list archives, but I cannot seem to find one that is identical.
First off, I'll tell you how I went about installing Gnu Pascal to run under (networked) Windows XP:-
- Run MinGW-3.1.0-1.exe
- Run MSYS-1.0.9.exe and point it at the MinGW installation.
- Install gpc-mingw-gcc-2.95.3-6-depends.tar.gz
- Run gpc-2.1-mingw-1.exe
- Add c:\mingw\bin to the (Windows XP) command path.
So far so good, everything works, and I'm able to compile hello.pas from MSYS with no problems!
The problem occurs after I change directory from C: (where everything is installed) to another drive. Then when I try to compile hello.pas, I get:-
$ cd /s/ $ gpc hello.pas c:\mingw\bin\gpc.exe: installation problem, cannot exec `gpcpp': No such file or directory
Can someone please advise? Is this to do with mounting?
Try setting the "GPC_EXEC_PREFIX" environment variable - e.g., export GPC_EXEC_PREFIX=/mingw/lib/gcc-lib/
"to another drive" - dosen't that mean it should be "c:/mingw/lib/gcc-lib/" ? (That's what you'd need back in the old DOS days)
Russ