delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/29/22:35:22

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Newbie:Q:Units/Libraries
Date: Thu, 29 May 1997 20:08:55 +0000
Organization: Two pounds of chaos and a pinch of salt
Message-ID: <338DE257.29BD@cs.com>
References: <5meqr0$vf4$2 AT news01 DOT btx DOT dtag DOT de>
Reply-To: fighteer AT cs DOT com
NNTP-Posting-Host: ppp109.cs.com
Mime-Version: 1.0
Lines: 57
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Steffen Binas wrote:
> 
> I downloaded GPC and RHIDE a few days ago.
> I worked before with TP/BP 7.0.
> 
> 1.
> Are there any units/libraries or something like that I haven't download
> yet? I can't find any one. Is this a separate zip?

According to J.J. van der Heijden
(j DOT j DOT vanderheijden AT mail DOT student DOT utwente DOT nl):

-snip-

If you are using the GNU pascal version from the djgpp distribution
(gcc-2.6.3 based), you have two options:

1) use #include to include "units" using the preprocessor, instead of
   the "uses" mechanism.

2) Get the pre-release of the new, gcc-2.7.2 based GPC which has *much*
   better unit support. It also has some bugs, but that's what 
   pre-releases are for, right?

GPC prereleases for djgpp are available from:

ftp://ftp.agnes.dida.physik.uni-essen.de/gpc-2.7.2/djgpp/
ftp://kampi.hut.fi/jtv/gnu-pascal/gpc-2.7.2/djgpp/
  which is mirrored at:
ftp://sunsite.doc.ic.ac.uk/gnu/pascal/gpc-2.7.2/djgpp/

A second pre-release *may* appear in one or two weeks.
-snip-

This advice may be out of date (it's dated Sept. 96), but I hope it
helps you.

> 2.
> Everytime I try to compile a pascal program I get the error message from
> the linker (ld.exe): can't find script djgpp.djl
> What must be in this script?

Please list exactly what packages you downloaded from the SimTel site. 
I believe that the minimum required for Pascal compilation is
'v2/djdev201.zip', 'v2gnu/bnu27b.zip', 'v2gnu/gcc2721b.zip', and
'v2gnu/gpc20b.zip'.  Read chapter 6 of the FAQ (v2/faq210b.zip) for more
information on compilation problems.

hth

-- 
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I  |     mailto:fighteer AT cs DOT com     |
| "Starting flamewars since 1993"  |   http://www.cs.com/fighteer   |
|  *** NOTICE ***  This .signature is generated randomly.           |
|                  If you don't like it, sue my computer.           |
---------------------------------------------------------------------

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019