delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/09/11:14:58

Date: Sun, 9 Mar 1997 18:01:26 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Kay Hayen <kay AT edition DOT bonbit DOT org>
cc: djgpp AT delorie DOT com
Subject: Re: make conflicts with turbopascal
In-Reply-To: <6SIte$EUccB@jocokko.edition.bonbit.org>
Message-ID: <Pine.SUN.3.91.970309175634.26812S-100000@is>
MIME-Version: 1.0

On 5 Mar 1997, Kay Hayen wrote:

> I've spent a lot time yesterday, when I tried to use the bpc of TP7.0  
> from Borland with djgpp's 2.0 and 2.1 make. It seems that djgpp uses  
> some DPMI interface with which the Borland program conflict.

You cannot run Borland programs from DJGPP programs (like DJGPP Make), 
because Borland programs are 16-bit DPMI clients, and DPMI 0.9 spec 
prohibits mixing 16-bit and 32-bit DPMI programs.  So either use Borland 
make or DJGPP-compiled Pascal compiler.

> The error message of make is not telling to much:
> 
> k:\binpatch>g:\dos_gcc\BIN\make -f testy2
> f:\bp\bin\bpc
> make.exe: *** [all] Error -1

Actually, it does tell you, but you have to listen ;-).  Error -1 means 
that the program was nowhere to be found.  And the reason in your case 
might well be that you use backslashes.  Try using them in pairs, like 
so:

> all:
>         f:\\bp\\bin\\bpc
>         "g:\\delphi\\bin\\dcc"

Better yet, switch to forward slashes.

- Raw text -


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