[MPlayer-dev-eng] libdha vs PIC

Rich Felker dalias at aerifal.cx
Tue Oct 17 03:43:38 CEST 2006


On Mon, Oct 16, 2006 at 07:54:33PM +0200, Reimar Döffinger wrote:
> Hello,
> On Mon, Oct 16, 2006 at 01:21:36PM -0400, Rich Felker wrote:
> > You'd better make it optional (detected by configure) if you're going
> > to force PIC anywhere. -fPIC will result in compile errors on my
> > system which does not support PIC, I think...
> 
> What is needed for PIC "support" at compile time except the compiler?

The assembler must be able to handle the nonsense offset syntax used
in PIC, and generate relocations for it. If your binary format does
not have PIC relocations then it can't be done.

Rich




More information about the MPlayer-dev-eng mailing list