Use of -fPIC on Tru64

Joerg Faschingbauer jfasch@aon.at
Mon Dec 17 11:54:00 GMT 2001


From: Arnaud Charlet <charlet@ACT-Europe.FR>
Subject: Re: Use of -fPIC on Tru64
Date: Thu, 13 Dec 2001 18:50:01 +0100

> > Really I don't think it matters one way or another.  I'd rather
> > treat Tru64 just like every other platform and use -fPIC.
> 
> Well, not all platforms require -fPIC, so I don't find this argument very
> convincing ;-) It seems cleaner to me to avoid using -fPIC when it is not
> needed.

The Linux dynamic loader implements loading non-PIC code. What you
lose though is sharing of text pages because text has to be patched
then.

Joerg



More information about the Gcc mailing list