Hello!
According to Jim Roland:
I have just installed GPC 2.0 (is there a newer one than this 12/96 version?), and I'm having a problem running configure/make.
See the GPC home page (URL below), or
ftp://agnes.dida.physik.uni-essen.de/gnu-pascal/beta/ ftp://agnes.dida.physik.uni-essen.de/gnu-pascal/alpha/
When I configure (I had to remake my gcc-2.7.2.2) i get a version error that GPC 2.0 requires gcc-2.7.2.1, which I have 2.7.2.2! [...]
Just edit the Makefiles and change the required GCC version number. The changes between gcc-2.7.2.[1-3] are minimal enough such that GPC will work with all of them without any change.
BTW, in code, how does one access the environment variables? Also, how do you reference items that were part of the borland units (DOS, SYSTEM, etc)?
See the BP compatibility package at
ftp://agnes.dida.physik.uni-essen.de/gnu-pascal/contrib/
Have fun,
Peter -- Peter Gerwinski, Essen, Germany, free physicist and programmer Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - 1 Oct 1997 PGP key fingerprint: AC 6C 94 45 BE 28 A4 96 0E CC E9 12 47 25 82 75 Fight the SPAM! - http://maps.vix.com/
I have successfully gotten the gpc-2.0 binaries to compile. I edited the Makefile.in file and found GCC-VERSION variable and changed 2.7.2.1 to 2.7.2.2...Thanks for the pointer!
On Fri, 6 Feb 1998, Peter Gerwinski wrote:
Date: Fri, 6 Feb 1998 12:20:13 +0100 (MET) From: Peter Gerwinski peter@agnes.dida.physik.uni-essen.de To: jim@roland.net, gpc@hut.fi Subject: Re: Version problem
Hello!
According to Jim Roland:
I have just installed GPC 2.0 (is there a newer one than this 12/96 version?), and I'm having a problem running configure/make.
See the GPC home page (URL below), or
ftp://agnes.dida.physik.uni-essen.de/gnu-pascal/beta/ ftp://agnes.dida.physik.uni-essen.de/gnu-pascal/alpha/
When I configure (I had to remake my gcc-2.7.2.2) i get a version error that GPC 2.0 requires gcc-2.7.2.1, which I have 2.7.2.2! [...]
Just edit the Makefiles and change the required GCC version number. The changes between gcc-2.7.2.[1-3] are minimal enough such that GPC will work with all of them without any change.
BTW, in code, how does one access the environment variables? Also, how do you reference items that were part of the borland units (DOS, SYSTEM, etc)?
See the BP compatibility package at
ftp://agnes.dida.physik.uni-essen.de/gnu-pascal/contrib/
Have fun,
Peter
-- Peter Gerwinski, Essen, Germany, free physicist and programmer Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - 1 Oct 1997 PGP key fingerprint: AC 6C 94 45 BE 28 A4 96 0E CC E9 12 47 25 82 75 Fight the SPAM! - http://maps.vix.com/
====================================================================== Jim Roland, running the most stable operating system in the world: OS/2 v4.0--I TALK to my OS, and IT LISTENS, does yours? ----------------------------------- Running Internet Servers on OS/2 & Linux (a free & stable Unix OS) ----------------------------------- Get free PGP software today to keep your files & messages private! Don't let ANYONE deprive you of your right to privacy!! ======================================================================
I am in need to use the GetEnv function (and the SetEnv) function along with other borland functions. I have a problem though. the BO5 binaries/sources seem to have no SetEnv function, but do seem to get the environment variable. I have a need to set a value to an existing variable AND, most importantly, create new ones with values for return to a CGI script. The BP files seem to be intended for DOS, but do seem to have the set variable function. The BP files seem to be more complete at this time, and contain a lot of functions I need to use.
How do I compile both? I can't get either to compile, and there don't seem to be complete instructions to compile them.
Eventually, I would like to be able to modify the sources from the BP5 library source code that I have (Borland, permitting of course) and use them to include in my programs--possibly make it part of the GNU library if they will allow it.