Le 05/05/2013 03:50, Adam Borowski a écrit : > On Sun, May 05, 2013 at 12:08:06AM +0200, Stéphane Glondu wrote: >> As far as bootstrapping is concerned, the OCaml sources include >> precompiled (bytecode) executables that are used in a first stage of the >> build process (i.e. ocaml doesn't build-depend on itself). So no need >> for cross-compilation there. OCaml has very few build-dependencies >> (there are Tcl/Tk/libX11, but they are optional) and should always be >> buildable natively. > > Wait, wait, wait... so OCaml ships precompiled binaries and runs them during > the build? It seems so, as it FTBFSes if you remove the binaries from boot/.
They are used only for the first phase of bootstrapping. Then, everything is recompiled using the newly compiled binaries. And again. Until there is a fixpoint. Everything that eventually ends up in binary packages has been compiled from source, and using binaries that have been compiled from source. > That's RC, I think. With the way I explained above, I disagree. Also, there is no guarantee that one version of ocaml can compile the next one: a new version of the compiler is free to use the new features it introduces. Upstream only supports compiling one version with itself. Cheers, -- Stéphane -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/5185e8c5.9020...@debian.org