Quote:
Originally Posted by thomega
Yep: either ocamlc -custom -ccopt -static (assuming that the C compiller / linker understands -static) to create a custom bytecode interpreter including all the libs or ocamlopt -ccopt -static for native binaries that include everything. The latter is usually the way to go.
Just edit the definitions of OCAMLC and OCAMLOPT in the Makefile and recompile from scratch.
|
I tried that, and got an error. I think it missing some non-dynamic library. I have to try to investigate more....
Quote:
Originally Posted by thomega
Is there a danger that commercial libraries will be linked that may not be redistributed?
|
Yes, there is. I'm compiling with Xcode for OSX, I'm not sure what the rules are.