> Appently GCC on an i86/Elf based Linux platform, compiles _all_ code as
> relocatable. So you can get alway with all kinds of stuff. But at least on
> HPUX, the vendor compiler does not create relocatable objects unless
> specifically asked to do so. And as a rule no-one does unless they are
> creating a shared library.
Yes, the performance hit for relocatable code is measurable. Good
point. Does anyone know of a good doc/web page that talks about PIC,
shared libs, etc that is somewhat OS-independent?
-- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610)
853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill,
Pennsylvania19026