Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
ocamlbuild: change the target name
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-09-14 (09:44)
From: Paolo Donadeo <p.donadeo@g...>
Subject: ocamlbuild: change the target name
I'm porting the build system of Ex-nunc from a plethora of makefiles
to ocamlbuild.

Is it possible to change the name of the generated (bytecode or
native) executable name? The Ex-nunc page compiler has a main module
contained in the file (try to guess) Using:

$ ocamlbuild ...some options... main.byte

the program is correctly compiled and named main.byte, but I would
prefer the output was called "xnuncc".

Now I use the mv command, but it's not the best solution.


Paolo Donadeo, Senior Software Engineer
Studio Associato 4Sigma