ocaml/bytecomp
Sébastien Hinderer 766ca57138 Fix the -use-runtime option.
This option was broken, as can be seen by using it to compile the
following helloworld.ml program:

let _ = Printf.printf "Hello, world!\n%!"

Then from OCaml's toplevel source directory, compile as follows:

./ocamlc.opt -use-runtime ${HOME}/src/ocaml/byterun/ocamlrun \
  -nostdlib -I stdlib -o helloworld.byte helloworld.ml

And do:

head -1 helloworld.byte

See the double #! at the beginning of the line.

The first one comes from the "header" file which is included and is
correct (it would be a different header on Windows).

The second one is hard-coded and should be removed, this is what
this patch does.
2016-06-08 22:40:37 +02:00
..
bytegen.ml prepare backend_type primitive 2016-04-24 17:42:23 -04:00
bytegen.mli Update headers for the new license. 2016-02-18 16:59:16 +01:00
bytelibrarian.ml Update headers for the new license. 2016-02-18 16:59:16 +01:00
bytelibrarian.mli Update headers for the new license. 2016-02-18 16:59:16 +01:00
bytelink.ml Fix the -use-runtime option. 2016-06-08 22:40:37 +02:00
bytelink.mli Update headers for the new license. 2016-02-18 16:59:16 +01:00
bytepackager.ml More warnings when compiling the compiler. 2016-03-15 22:46:35 +01:00
bytepackager.mli Update headers for the new license. 2016-02-18 16:59:16 +01:00
bytesections.ml More warnings when compiling the compiler. 2016-03-15 22:46:35 +01:00
bytesections.mli Update headers for the new license. 2016-02-18 16:59:16 +01:00
cmo_format.mli Update headers for the new license. 2016-02-18 16:59:16 +01:00
debuginfo.ml Make backtraces aware of inlining (#247) 2016-05-25 14:00:37 +01:00
debuginfo.mli Make backtraces aware of inlining (#247) 2016-05-25 14:00:37 +01:00
dll.ml Update headers for the new license. 2016-02-18 16:59:16 +01:00
dll.mli Update headers for the new license. 2016-02-18 16:59:16 +01:00
emitcode.ml Update headers for the new license. 2016-02-18 16:59:16 +01:00
emitcode.mli Update headers for the new license. 2016-02-18 16:59:16 +01:00
instruct.ml Update headers for the new license. 2016-02-18 16:59:16 +01:00
instruct.mli Update headers for the new license. 2016-02-18 16:59:16 +01:00
lambda.ml add Path.compare 2016-05-09 09:35:05 -04:00
lambda.mli prepare backend_type primitive 2016-04-24 17:42:23 -04:00
matching.ml Fix PR#7230 2016-04-22 11:20:14 +09:00
matching.mli Update headers for the new license. 2016-02-18 16:59:16 +01:00
meta.ml Update headers for the new license. 2016-02-18 16:59:16 +01:00
meta.mli Update headers for the new license. 2016-02-18 16:59:16 +01:00
printinstr.ml Update headers for the new license. 2016-02-18 16:59:16 +01:00
printinstr.mli Update headers for the new license. 2016-02-18 16:59:16 +01:00
printlambda.ml prepare backend_type primitive 2016-04-24 17:42:23 -04:00
printlambda.mli Annotate Let_mutable with the kind of value 2016-04-12 14:49:52 +02:00
runtimedef.mli Update headers for the new license. 2016-02-18 16:59:16 +01:00
simplif.ml Annotate Let_mutable with the kind of value 2016-04-12 14:49:52 +02:00
simplif.mli Update headers for the new license. 2016-02-18 16:59:16 +01:00
switch.ml More warnings when compiling the compiler. 2016-03-15 22:46:35 +01:00
switch.mli Update headers for the new license. 2016-02-18 16:59:16 +01:00
symtable.ml More warnings when compiling the compiler. 2016-03-15 22:46:35 +01:00
symtable.mli Update headers for the new license. 2016-02-18 16:59:16 +01:00
translattribute.ml Fix spelling mistake in comment 2016-03-31 15:40:51 +01:00
translattribute.mli Update headers for the new license. 2016-02-18 16:59:16 +01:00
translclass.ml Annotate each field of a block separately 2016-04-12 14:49:51 +02:00
translclass.mli Update headers for the new license. 2016-02-18 16:59:16 +01:00
translcore.ml prepare backend_type primitive 2016-04-24 17:42:23 -04:00
translcore.mli Local let exceptions. 2016-03-15 22:02:55 +01:00
translmod.ml Merge tag 4.03.0 into trunk. 2016-04-28 16:13:21 +02:00
translmod.mli More warnings when compiling the compiler. 2016-03-15 22:46:35 +01:00
translobj.ml Annotate each field of a block separately 2016-04-12 14:49:51 +02:00
translobj.mli Update headers for the new license. 2016-02-18 16:59:16 +01:00
typeopt.ml Also record type information for int 2016-04-12 14:49:54 +02:00
typeopt.mli Renaming block_kind -> value_kind. 2016-04-12 14:49:50 +02:00