Thanks for the lead on that IDE. I haven't touched Pascal in many years, so I don't really know what's out there. I've done quite a bit of looking around, but having seen a couple of other IDEs for pascal that I didn't find useful, I decided to stick with GNU stuff, which I was hoping would work for me. The gpc compiler was looking hopeful for a little bit there, but then I ran into these problems. Thanks for the pointer to use this IDE. It's much nicer.
I am having an issue with my compilation using the IDE. I did a compile of my project and two errors are popping up in different places that I am not sure what to do with. The Intr() procedure is not recognized, and it's used throughout most of the thirteen project files that I have inherited. Getting an "undeclared identifier 'Intr'" error message. I found a note in the file gpc.info-2 that says that the procedures Intr and MsDos are only supported under DJGPP if `__BP_UNPORTABLE_ROUTINES__' is defined with the `-D__BP_UNPORTABLE_ROUTINES__' option. I didn't know whether this IDE relied on DJGPP or not, but I tried it anyway. It didn't help. Any ideas here?
Thanks... Bruce
----- Original Message ----- From: "The African Chief" chiefsoft@bigfoot.com To: "Bruce Mahfood" bruce.mahfood@tseboston.com Cc: gpc@gnu.de Sent: Monday, June 11, 2007 1:44:55 PM (GMT-0500) America/New_York Subject: Re: GPC on Cygwin having a problem compiling using crt
On Mon, 2007-06-11 at 12:27 -0400, Bruce Mahfood wrote:
Hi all, I am on the warpath trying to compile a set of pascal files that were left to me by a predecessor. My latest issue is that my files have the statement "Uses graph". Looking online, I find that this is a Borland thing referring to the use of the Borland Graphics Interface (BGI).
I have found that GNU supports a package called GRX (http://grx.gnu.de/download/index.html), and the link "http://www.gnu-pascal.de/gpc/Graph-unit.html#Graph-unit" says it's known to work under Cygwin. I have extracted the files into my cygwin installation at /usr/local/src, and am looking at the makefiles. Unfortunately, there is only a mingw specific makefile and not a cygwin specific one. I have not yet worked with mingw, and don't really know how these two correlate.
Can anyone point me in the right direction for compiling this for cygwin?
Is there any particular reason why you are using Cygwin? You might want to try a Mingw version, which has all that stuff built in (with an IDE): http://www.gnu-pascal.de/contrib/chief/win32/dev_gnu_pascal-1.9.4.8.exe