[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#256900: Ocaml compiled programs cannot be stripped



Le Wednesday 20 August 2008 17:54:41 Romain Beauxis, vous avez écrit :
> > (The last digit of the magic number changed during the life of OCaml,
> > but it's been "8" since June 2004, and I don't expect it to change any
> > time soon.  If you want to play it safe, recognize the regexp
> > "Caml1999X0[0-9][0-9]".)
>
> Sorry, but is there something I don't understand there:
> 17:52 toots@leonard /tmp% cat bla.ml
> let () = Printf.printf "bla\n"
> 17:54 toots@leonard /tmp% ocamlc -o bla ./bla.ml
> 17:54 toots@leonard /tmp% tail -c 12 ./bla
> Caml1999X008%

Sorry for the noise, I didn't test the ELF header...

Romain


Reply to: