ebin and incl path

Luc Taesch ltaesch@REDACTED
Mon Jul 24 09:15:44 CEST 2000


Gunilla Hugosson wrote:

> Hi Luc,
>
> You can use the erlc compiler which understands '-I directory'
> and '-o directory' flags (and more). Example:
>  % erlc -I ../incl -o ../ebin a.erl b.erl

thks a lot.

indeed, ill find that in the man page.
btw,  are there any way to have this by defaults in emacs, so when I type
CcCk, it woks well (i would appreciate if one can paste the .emacs part, as
im not an emacs expert...;-)



>
>
> Check the man page for erlc for details.
>
> / Gunilla
>
> Luc Taesch wrote:
> >
> > up to now i did pretty basic stuff, but now i need some organisation. as
> > far as i understnad, u put the /src, /ebin, (priv) , /incl dir  for
> > sources, beam, hrl.
> >
> > bur how can i have the bin automatically put in bin, the incl taken from
> > incl,,...etc ?
> >
> > are there some paramters to set, or env variable, or config erlanf files
> > ? i have seen some outdir thingy added from emacs when i CcCk, and some
> > apps i looked into have no path added to the include, so i suppose the
> > path is modified, but how ?
>
> --
> _____Gunilla Hugosson____________________________________________
> Ericsson Utvecklings AB / Open Systems
> Gunilla.Hugosson@REDACTED   http://www.erlang.se
> office +46-8-7275730   cellular +46-70-5247429

--
First, they ignore you.
Then, they laught at you.
Then, they fight you.
Then, you win.

--- Gandhi.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20000724/830a3fe4/attachment.htm>


More information about the erlang-questions mailing list