delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/17/10:12:20

Date: Thu, 17 Jun 1999 15:00:51 +0200
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Message-Id: <199906171300.PAA02137@acp3bf.physik.rwth-aachen.de>
To: rg3 AT ic DOT ac DOT uk
Cc: djgpp AT delorie DOT com
Subject: Re: Using different compiler in DJGPP make utility
Newsgroups: comp.os.msdos.djgpp
Organization: RWTH Aachen, III. physikalisches Institut B
X-Newsreader: TIN [version 1.2 PL2]
Reply-To: djgpp AT delorie DOT com

In article <3768d057 DOT 0 AT nnrp1 DOT news DOT uk DOT psi DOT net> you wrote:

> In my makefile I've replaced the line that says 'cc=gcc' by
> 'cc=g21k' where g21k is AD C compiler for the SHARC processor. 

[...]
> make.exe[2]: Entering directory `c:/apps/arch/sharc'
> g21k -DSWITCH1 -DSWITCH2 @includes -DSWITCH3 -c ../../app1/src/file1.
> c
> DOS/16M error: [32]  DPMI host error (possibly insufficient memory)

Looks like g21k itself is compiled using a DOS extender, DOS/16M. The
nomenclature (as opposed to DOS/4G, the more widely used 32bit
extender) and also the error message support the conclusion that this
is a 16bit DPMI client.

Unfortunately, the DPMI protocol version 0.9 (the only one you can
easily get your hands on, without paying) doesn't allow calling a
32bit DPMI client from a 16bit one, or the other way round. This means
you're stuck. There's no way to call this program from the DJGPP port
of GNU make. 

You'll have to use a different port of GNU make (the 'GNUish' one,
e.g.), or not use GNU make at all. Or (maybe) use a different compiler
executable that doesn't use 16bit DPMI --- 32Bit DPMI or raw 16bit DOS
should be fine.

--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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