precompiled header support

Dave Korn dk@artimi.com
Wed May 12 10:23:00 GMT 2004


> -----Original Message-----
> From: gcc-owner On Behalf Of DJ Delorie
> Sent: 11 May 2004 21:58

> 
> 
> > What the current PCH implementation relies on is the 
> ability to have a
> > known fixed memory address which can be used when loading the PCH.
> 
> Sorry, DJGPP only has malloc/free available.  Without DPMI 1.0,
> there's very little we can do about memory layout.

Heh.  Doesn't the application pretty much _own_ everything <640kB under DOS?
You might be able to make *very*small* pch work; just get the compiler to
relocate itself into extended memory and it can use the space it vacated in
low mem as an absolute allocation.......!  [*]

    cheers, 
       DaveK

[*] HHOS <g>
-- 
Can't think of a witty .sigline today....



More information about the Gcc mailing list