View Single Post
Old 02-06-2009, 04:13 PM   #39
ghostwheel
Zealot
ghostwheel has learned how to buy an e-book online
 
Posts: 133
Karma: 93
Join Date: May 2006
Device: DBoox Max,Galaxy note 10.1 & 3,LE1700 tablet,sony PRS-500,iRex DR1000S
Quote:
Originally Posted by thomega View Post
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 View Post
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.
ghostwheel is offline   Reply With Quote