[Omake] Building omake on Solaris

Jason Hickey jyh at cs.caltech.edu
Tue Oct 23 17:14:45 PDT 2007


On Oct 23, 2007, at 4:13 PM, akolb at sun.com wrote:

> I do have OCaml 3.10 installed in /usr/local, but it doesn't  
> include ocamplopt
> which Omake finds in /opt/csw (blastwave version), although I removed
> /opt/csw/bin from the PATH. Is there any way I can tell omake  to use
> /usr/local/bin/ocamlc and not use ocamplopt?

I don't know why /opt/csw/bin was re-added, maybe gmake added it back?

In any case, you should be able to build with ocamlc.  Basically, you  
need to set BYTE_ENABLED=true (for ocamlc) and NATIVE_ENABLED=false  
(not ocamlopt) in the .config file.

If you already have a .config file, edit it.  Otherwise, generate it  
with these steps.

    - make sure /usr/local/bin is before /opt/csw/bin in your PATH
      environment variable,
    - run "gmake bootstrap" to build omake-boot
    - run ./omake-boot, which should generate a .config and ask you  
to edit it

Once you have the .config, edit the {BYTE,NATIVE}_ENABLED, then

    - run ./omake-boot to build everything and
    - "./omake-boot install" to install it.

Bytecode omake is noticably slower than native omake:(

Unfortunately, I don't know how to write Solaris packages, but if  
someone can point me to a handy guide, I can try to make one for our  
next release (Solaris 10, x86 only:().

Jason

--
Jason Hickey                  http://www.cs.caltech.edu/~jyh
Caltech Computer Science      Tel: 626-395-6568 FAX: 626-792-4257





More information about the Omake mailing list