[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Xavier Leroy <xleroy@p...> |
| Subject: | Re: [Caml-list] Porting to EPOC |
[ Cross-compiling OCaml bytecode for a runtime system containing platform-specific external functions. ] > I notice there is an undocumented compiler switch -use-prims <file>. > Maybe this would solve my problem if I knew the format of <file>? Yes, -use-prims is exactly what you need. The format is one C function name per line, in the exact order in which they appear in the table cprim[] in byterun/prims.c. Even easier: building the runtime system in byterun produces the file byterun/primitives, which happens to have exactly the right format. Whopee! Have fun with Epoc, - Xavier Leroy ------------------- To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr