This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: precompiled header support


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]