how do i specify include path?

Chris Williams chris.williams@REDACTED
Fri Feb 15 16:57:15 CET 2002

If you want to compile the file in a erlang shell you can 
always use the command:

There you can include a paths to .hrl files.
Garry Hodgson wrote:
> i know i use the -pa flag on the erl command line to specify module
> path,
> but i can't seem to find the corresponding flag to set include path, so
> it can find the necessary .hrl files when compiling.
> i see a -I on erlc, but it doesn't appear to work within erl, when using
>  c(modulename).
> any clues?
> thanks
> --
> Garry Hodgson                   Let my inspiration flow
> Senior Hacker                      in token rhyme suggesting rhythm
> Software Innovation Services    that will not forsake me
> AT&T Labs                          'til my tale is told and done.
> garry@REDACTED

More information about the erlang-questions mailing list