www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/17/04:53:58

Date: Fri, 17 Mar 2000 13:32:05 +0600 (LKT)
From: Kalum Somaratna aka Grendel <kalum AT lintux DOT cx>
X-Sender: root AT darkstar DOT grendel DOT net
To: djgpp AT delorie DOT com
Subject: Re: precompiled headers and djgpp
In-Reply-To: <38D18FEC.47761548@caresystems.com.au>
Message-ID: <Pine.LNX.4.10.10003171325190.1035-100000@darkstar.grendel.net>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Fri, 17 Mar 2000, leon wrote:

> 
> ok - but what i mean is - since percompiled headers are the issue in
> windows env and not in dos and YET one can use djgpp + software add on
> library (forget its name) to code for win32 then what is the part that
> is in control of deciding whether or not to support precompiled
> headers?!

Actually it is the *compiler* which has to be able to handle prcompiled
headers. The compiler used by DJGPP is GCC which is developed by the folks
at the FSF <www.gnu.org>. So if GCC supported pre- compiled headers then
DJGPP would also automatically support precompiled headers.

So the issue of adding  precompiled headers to GCC should be in the hands
of the guys at FSF not DJGPP. 

> 
> in other words is it the responsibility of compiler to support
> percompiled headers and if so then i presume some another compiler (from
> a library add on for win32) is used to compile the code.

It is the responsibility of the compiler to support precompiled headers.

> 
> In other words - it is cool if djgpp does not support precompiled
> headers - but if it IS used in coding for win32 (as is the case) then
> the issue of precompiled headers is surfaced again? or would it be up to
> the software add on (which supports win32 compilation) to suport
> precompiled headers?

No, since even the addon (RSXNTDJ) is really a extension of DJGPP which
enables the creation of windoze executables.

So as you can see it is the duty of the writers of the compiler (gnu.org)
to add the pre-ocompiler header functionality, then automatically DJGPP
and RSXNTDJ and any other programming environments which are based on GCC
would automatically support precompiled headers.


Grendel


Hi, I'm a signature virus. plz set me as your signature and help me spread
:)

- Raw text -


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