delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/08/12/11:15:05.1

From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Trying to get code to compile and getting errors please help.
Date: 12 Aug 2003 15:10:47 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 28
Message-ID: <bhb01n$ibh$1@nets3.rz.RWTH-Aachen.DE>
References: <bh8nfp$sd7$1 AT news DOT nsiregistry DOT net> <bhat0n$fcv$1 AT news DOT nsiregistry DOT net>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 1060701047 18801 137.226.32.75 (12 Aug 2003 15:10:47 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 12 Aug 2003 15:10:47 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

nonya <duck AT tdux DOT com> wrote:

[...]
> discovered.  (1)You can download demo software for the unit but it is not
> very useful.  (2) If you want the unit to do anything you have to write the
> application in C then upload it to the unit. 

So I take it you're trying to write on-board software for that unit,
not just a program that will run on a normal PC? Careful there.  You
really should check that the gadget is even capable of hosting a
32-bit DPMI server and DPMI client application before proceeding with
the port of that software from Microsoft's 16-bit C compiler to DJGPP,
where everything is 32 bit.

DJGPP-compiled programs are not just "DOS programs", so it's not
strictly certain that they'll run on every thing that claims to be
able to run generic DOS programs.

You'll also quite probably need additional information about the MS
compiler this code was made for (the docs, at the very least) to be
able to analyze those parts that don't have direct counterparts on the
DJGPP side in order to replace them by others.  E.g., those docs would
be the place to look up the definitions of parameter macros not found
in DJGPP, or the meanings of functions that DJGPP doesn't have.

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