English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Bootstrapping problem with patched compiler
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-07-08 (22:10)
From: Jacques Garrigue <garrigue@m...>
Subject: Re: [Caml-list] Bootstrapping problem with patched compiler
From: Markus Mottl <markus.mottl@gmail.com>

> According to a post from Xavier some time ago the right way to bootstrap
> the compiler with such changes is as follows:
>  - start with pristine OCaml sources
>  - do "make world"
>  - perform your changes
>  - do "make all"  (NOT "make world")
>  - do "make bootstrap" to make sure everything is OK.
> Unfortunately, this does not work for me.  Here is the last error message,
> which pops up after "make all":
>   make[2]: Entering directory `/tmp/ocaml/otherlibs/labltk/lib'

If you went up to that point, it means that the changes basically
worked. You may verify it by using
  ./boot/ocamlrun ./ocaml -I stdlib
But apparently some dependencies were not  yet solved.
I cannot exactly see where the problem comes from, but
I would suggest one more "make bootstrap" to clear the situation.

Jacques Garrigue