I'm working on embedded systems and symbols in .so file can't be stripped.

So, using mklibs i recompile .so file only with needed function from the
static library but it needs to be compiled with "-fPIC" option.

This option really optionnal because you can define FLAGS with -fPIC but
most of libraries i use have the --with-pic option.



2014-11-10 14:42 GMT+01:00 Chet Ramey <[email protected]>:

> On 11/10/14, 5:46 AM, Clément Péron wrote:
> > Hi,
> >
> > Is it possible to add the --with-pic option in the configure to generate
> a
> > static library with position independent code ?
>
> What's the goal of doing that?
>
>
> --
> ``The lyf so short, the craft so long to lerne.'' - Chaucer
>                  ``Ars longa, vita brevis'' - Hippocrates
> Chet Ramey, ITS, CWRU    [email protected]
> http://cnswww.cns.cwru.edu/~chet/
>
_______________________________________________
Bug-readline mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-readline

Reply via email to