On Mon, Jan 12, 2015 at 10:57:50AM -0800, Moez Roy wrote:
On Sat, Jan 10, 2015 at 6:12 PM, Richard W.M. Jones
> Does this proposal apply to native non-C/C++ programs?
I would like to see this proposal apply to native non-C/C++ programs,
but I am not sure on how that would be done?
Do the other compilers understand what needs to be done when they are
passed '-fPIC -pie' flags?
OCaml has -fPIC. However I don't know how/if it's possible to enable
PIE on the main executable. I will need to check when I'm back from
OCaml is a memory safe language, so a pure OCaml program just doesn't
suffer from the same kinds of problems that C programs do. However
"pure OCaml" programs aren't very common - we often link to or write
parts of the program in C, and there things get a bit more
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages. http://libguestfs.org