precompiled header support
Gunther Nikl
gni@gecko.de
Tue May 11 08:05:00 GMT 2004
On Fri, May 07, 2004 at 11:45:26AM -0700, Geoff Keating wrote:
> "Dave Korn" <dk@artimi.com> writes:
>
> > Which led me to the following thought: can't the gc be (ab)used to chase
> > down all the pointers in the mmap'd area and convert them to a self-relative
> > form?
>
> Something with the same effect can be done, yes. However, no-one has
> yet implemented this because it would be slower and there's never been
> an example of a host which really needed it. (Maybe if you can
> explain more about your host, it might be the first example.)
This is "my" host: AmigaOS/68k not officially supported by FSF GCC. At
that system programs are always loaded to a random (== free) address by
the loader. Thats by design to not require a MMU and is possible because
programs have relocation tables to let the loader adapt the places that
use "absolute" addresses.
Thus I believe the current PCH doesn't work at that host, eg. ("text
segment moved"). What I would like todo is, disable PCH altogether to
prevent other users trying to use it which would happen regardless of
what documentation states.
Gunther
More information about the Gcc
mailing list