erlc options

Martin Bjorklund <>
Fri Jan 12 08:31:54 CET 2001

"Vance Shipley" <> wrote:
> How do you get the MIB compiler to accept -ilroot?

I think you want to use the -I option, not -ilroot.  With -I you add a
specific directory to the include/import path.  -ilroot is used for
erlang code which uses the directive -include_lib.

> I've tried every combination of things I keep getting this:
> erlc +"{db,mnesia}" -ilroot "eva/priv/mibs/" ASG-MIB.mib

So try: 
  erlc +"{db,mnesia}" -I "eva/priv/mibs/" ASG-MIB.mib


More information about the erlang-questions mailing list