Question about erlang shell
Bengt Kleberg
bengt.kleberg@REDACTED
Mon Sep 13 17:04:29 CEST 2004
Taavi Talvik wrote:
> Hello !
>
> I have different versions of erlang runtime system on different machines.
> However, this introduces fiew difficulties for build system. Currently I
> am using simple gnu makefiles and don't want to introduce
> autoconf/autotools.
>
> Makefile contains lines:
> ERL_FLAGS = -I/usr/local/lib/erlang/lib/snmp-3.4.8/include
>
> but on the other system, it should be
> ERL_FLAGS = -I/usr/local/lib/erlang/lib/snmp-3.4/include
in the erlang source files (*.erl) you can write
-include_lib("snmp/include/STANDARD-MIB.hrl").
on my system (Erlang (THREADS,HIPE) (BEAM) emulator version 5.3.6.3 )
this will find the header file in $OTP_ROOT/lib/snmp-3.4.8/include/
bengt
More information about the erlang-questions
mailing list