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
compile plexer.ml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-05-13 (04:09)
From: Pietro Abate <Pietro.Abate@a...>
Subject: compile plexer.ml
Hi all,

I need to extend plexer.ml for my application (I want to add tokens like
"[<", ">]", "[>", "<]" ect), but I'm having trouble to to
compile it outside the ocaml distribution, and how to extend it... 

This is how it's compiled in the ocaml distribution:
../../boot/ocamlrun ../boot/camlp4r -nolib -I ../boot -o plexer.ppo
-verbose plexer.ml

how can I compile it as an object in my tree ?

Do I just need to get plexer.ml or I also need token.ml, stdpp.ml and
friends ?


++ Blog: http://blog.rsise.anu.edu.au/?q=pietro
++ "All great truths begin as blasphemies." -George Bernard Shaw
++ Please avoid sending me Word or PowerPoint attachments.
   See http://www.fsf.org/philosophy/no-word-attachments.html