<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Gunilla Hugosson wrote:
<blockquote TYPE=CITE>Hi Luc,
<p>You can use the erlc compiler which understands '-I directory'
<br>and '-o directory' flags (and more). Example:
<br> % erlc -I ../incl -o ../ebin a.erl b.erl</blockquote>
<p><br>thks a lot.
<p>indeed, ill find that in the man page.
<br>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...;-)
<br>
<br>
<blockquote TYPE=CITE>
<p>Check the man page for erlc for details.
<p>/ Gunilla
<p>Luc Taesch wrote:
<br>>
<br>> up to now i did pretty basic stuff, but now i need some organisation.
as
<br>> far as i understnad, u put the /src, /ebin, (priv) , /incl dir
for
<br>> sources, beam, hrl.
<br>>
<br>> bur how can i have the bin automatically put in bin, the incl taken
from
<br>> incl,,...etc ?
<br>>
<br>> are there some paramters to set, or env variable, or config erlanf
files
<br>> ? i have seen some outdir thingy added from emacs when i CcCk, and
some
<br>> apps i looked into have no path added to the include, so i suppose
the
<br>> path is modified, but how ?
<p>--
<br>_____Gunilla Hugosson____________________________________________
<br>Ericsson Utvecklings AB / Open Systems
<br>Gunilla.Hugosson@uab.ericsson.se <a href="http://www.erlang.se">http://www.erlang.se</a>
<br>office +46-8-7275730 cellular +46-70-5247429</blockquote>
<pre>--
First, they ignore you.
Then, they laught at you.
Then, they fight you.
Then, you win.
--- Gandhi.</pre>
</html>