Xine-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Original]

Re: [xine-devel] How to build a library without fPIC?


To: Diego 'Flameeyes' Pettenò <flameeyes@xxxxxxxxxx>
Subject: Re: [xine-devel] How to build a library without fPIC?
From: Jason Tackaberry <tack@xxxxxxxxx>
Date: Tue, 29 Nov 2005 08:55:12 -0500
Cc: xine-devel@xxxxxxxxxxxxxxxxxxxxx
Delivered-to: itdp@localhost
In-reply-to: <200511291222.48985@enterprise.flameeyes.is-a-geek.org>
References: <1133237810.4906.33.camel@draco.sault.org> <200511291222.48985@enterprise.flameeyes.is-a-geek.org>

Hi Diego,

On Tue, 2005-11-29 at 12:22 +0100, Diego 'Flameeyes' Pettenà wrote:
> Pay attention if you want to build it without -fPIC, as it won't work on PIC 
> arches such as AMD64 and IA64, and it would break policies of distributions 
> (starting from Gentoo) that .so libraries should always be built with -fPIC 
> no matter what.

In my case, I'm compiling mplayer's postproc (swscaler) library as a .a
without -fPIC, and then building a small .so xine-eqsue wrapper that
includes the .a, which can be compiled with -fPIC.  Does this satisfy
the requirements?  How can this be achieved with xine's build system?

Regards,
Jason.

Attachment: signature.asc
Description: This is a digitally signed message part


[Prev in Thread] Current Thread [Next in Thread]