[
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: | Rhythmic Fistman <rfistman@g...> |
| Subject: | Re: [Felix-impl] it no me build |
On 5/15/07, skaller <skaller@users.sourceforge.net> wrote: > On Tue, 2007-05-15 at 21:00 +0200, Rhythmic Fistman wrote: > > > > The Felix build scripts ARE different .. but the effect should > > > be the same. Any which way it should either fail on all platforms > > > or build on all platforms .. there's no C code here, and Ocaml > > > is supposed to be portable. > > > > Somewhere... someone lied. > > > > Haha, just kidding. The difference is that the tarball uses ocamlc and > > flx here is using ocamlc.opt. Could that be relevant? > > As I understand it: > > No. ocamlc.opt and ocamlc are functionally equivalent. > The only difference is ocamlc is compiled with ocamlc, > whereas ocamlc.opt is compiled with ocamlopt. > > In other words, ocamlc.opt is faster because it is > built as native code, but they're built from the > same ocaml sources. Bootstrapping is cool! > > In fact there ARE differences between ocamlc > and ocamlopt built code, apart from speed: > for example bytecode supports dynamic loading > of bytecode whereas native code does not .. > but this shouldn't affect ocamlc. > > However, -pack MAY be different; it is a new feature > and didn't work on any processor other than x86 originally, > so this might be a difference. -pack does nasty stuff > with native code which requires arcane knowledge of > object files, whereas with bytecode it's the same on > all platforms. Can we disable -pack? Can I fall back to ocamlc? How?