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
ocamlbuild, camlp4 and the _tags file
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-04-30 (11:30)
From: Joel Reymont <joelr1@g...>
Subject: ocamlbuild, camlp4 and the _tags file
I see that ocamlbuild is being used to build camlp4 examples.

I thought I would ask a few questions on the meaning of the different  
tags since they are not described in my version of the ocamlbuild  
user's guide and the presentation slides.

 >>> "apply_operator.ml" or "type_quotation.ml": camlp4rf, use_camlp4

The above is clear.

 >>> "lambda_quot.ml": camlp4rf, use_camlp4_full

But what's the difference between use_camlp4_full and use_camlp4?

When should one be used vs the other?

 >>> "test_macros.ml": pp(camlp4of ./macros.cmo)
 >>> "lambda_test.ml": pp(camlp4of ./lambda_quot.cmo)

Why are these special options needed? When should I use them?

 >>> <parse_files.*>: camlp4of, use_camlp4_full, use_dynlink

Why is dynlink used here?

	Thanks, Joel