delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/07/20/13:49:56

Date: Thu, 20 Jul 2000 13:49:29 -0400 (EDT)
Message-Id: <200007201749.NAA09969@indy.delorie.com>
From: Eli Zaretskii <eliz AT delorie DOT com>
To: bkorb AT sco DOT COM
CC: dj AT delorie DOT com, djgpp-workers AT delorie DOT com, gcc AT gcc DOT gnu DOT org
In-reply-to: <397719F4.16F8A257@sco.com> (message from Bruce Korb on Thu, 20
Jul 2000 08:25:40 -0700)
Subject: Re: GCC headers and DJGPP port
References: <200007180918 DOT FAA06988 AT indy DOT delorie DOT com> <200007181913 DOT VAA01170 AT loewis DOT home DOT cs DOT tu-berlin DOT de> <200007191826 DOT OAA08693 AT indy DOT delorie DOT com> <200007200729 DOT JAA01060 AT loewis DOT home DOT cs DOT tu-berlin DOT de> <200007201024 DOT GAA09536 AT indy DOT delorie DOT com> <200007201205.OA <397719F4 DOT 16F8A257 AT sco DOT com>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Date: Thu, 20 Jul 2000 08:25:40 -0700
> From: Bruce Korb <bkorb AT sco DOT COM>
> 
> The worst one *is* NULL.  The reason is that there are so bloody
> many platforms out there that define it in all manner of random places.
> I assume you know that.  GCC has to adapt itself to all these platforms.

Sorry, I don't see why does GCC need to adapt itself.  Does this need
arise when building GCC, or when using it (or both)?

And what problems are caused by the fact that NULL is defined in many
places?  Are you talking about platforms which don't have NULL defined
in the usual places, such as stddef.h?  If so, I think the platforms
which do have NULL defined where it should be, should not be punished
on behalf of the non-conforming platforms.

> > Of course, a working fixincludes might circumvent the technical
> > problems.
> 
> I'm ready to help, but I don't have a DOS platform to play on.

You don't need to have a DOS machine, any Windows 9X or NT machine, or
even Linux with DOSEmu, will do: DJGPP supports all these platforms.
You could even try this on Unix, if you only use Posix functions like
popen, system, and dup.

Please don't misunderstand me: I'm not saying that you *should* do
this yourself, I'm saying that you _can_ do this should you wish to.

- Raw text -


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