GPC on Cygwin having a problem compiling using crt

Bruce Mahfood bruce.mahfood at tseboston.com
Tue Jun 12 17:15:26 CEST 2007


So I seem to have gotten past the Intr() procedure problem.  Turns out that the TechnoJock's Turbo Toolkit files that came with this project were not complete.  I downloaded the full distribution of files, compiled them to .tpu unit files using TP and TASM, and now I have unit files to play with.  I have tried recompiling in the Dev+GNU Pascal IDE, but am not quite sure how to get the IDE to find these files.  I put the .tpu files in the same directory as the project's .pas files, but they didn't get recognized.  I created a units directory in the project directory and added a --unit-path="units" option in the Extra Compiler Options field for the Project/Project options dialog.  No luck.  Did I need to put all the supporting .pas and .asm files into the directory with the .tpu files?  Any pointers on this?  I believe I am very close to having this problem fixed.
Bruce


----- Original Message -----
From: "The African Chief"
To: "Bruce Mahfood"
Cc: gpc at gnu.de
Sent: Monday, June 11, 2007 5:47:43 PM (GMT-0500) America/New_York
Subject: Re: GPC on Cygwin having a problem compiling using crt

On Mon, 2007-06-11 at 17:21 -0400, Bruce Mahfood wrote:

> 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?

The Intr routine works only on DJGPP (DOS-32). This IDE is based on
Mingw. Unless you can find a portable way to do what you want to do with
Intr, I think you are well and truly stuck there.

-- 

Best regards,
 TheChief
email: chiefsoft at bigfoot.com
www: http://www.greatchief.plus.com









More information about the Gpc mailing list