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
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to