[Gllug] -fPIC option

Tethys tet at accucard.com
Sat Feb 1 17:17:01 UTC 2003


rich at annexia.org writes:

>So my question is: why does Linux let me build non-position-independent
>shared libraries? Will these libraries break or suffer some sort of
>penalty? Or is Linux just more capable in some way than Solaris that
>it doesn't require position-independent code in shared libraries?

While we're at it, under what circumstances should -fpic be used instead
of -fPIC? Surely if you want position independent code, then you want it
regardless of branch displacement sizes? Nix?

Tet

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list