Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
nonresolved .cma files and errors
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-04-12 (07:05)
From: Alain Frisch <alain.frisch@i...>
Subject: Re: [Caml-list] nonresolved .cma files and errors
Jeff Henrikson wrote:
> OTOH, I see from the list archive that I'm not making up this inlining
> across files thing . . .
> So if I understand correctly then, cross-file function inlining must by
> design be delayed until link time?

No. The native compiler looks for .cmx files to perform inlining and
other cross-module optimizations. The -I options control in which
directories these files are searched for. The .cmx files provided on the
command line are again ignored.

-- Alain