sudo and changes in packaging guidelines

Adam Jackson ajax at redhat.com
Fri Apr 13 20:36:07 UTC 2012


On 4/13/12 3:19 PM, Richard W.M. Jones wrote:
> On Fri, Apr 13, 2012 at 10:47:00AM -0700, Toshio Kuratomi wrote:
>> Although (since I know Rich works on OCaml stuff) since OCaml is compiled to
>> C before being compiled to object code, this section might still apply.
>
> OCaml isn't compiled to C, it's compiled direct to machine code.
>
> The OCaml native code compiler supports -fPIC output.  I'm not quite
> sure if PIE is just PIC applied to the main program, or if there is
> some other magic it does.

PIE produces a position independent executable.  This is not the same 
thing as an executable that just happens to have been linked together 
from PIC code.  It's more like a DSO that happens to have a main() function.

- ajax


More information about the devel mailing list