[erlang-questions] "dynamic" include?

Roberto Saccon <>
Fri Oct 26 05:12:33 CEST 2007


On 10/25/07, YC <> wrote:
> Thanks - is that shell script you referred to a part of the erlyweb disti?

not that I know ..

> Where can I find the shell script?

You either write your own glue (simple shellscript, automake based or
escript)  to connect your Erlang program with the Erlang VM, third
party libraries and your project specific environment around it or you
wait a few days for the launch of erlware.org repository, maybe that
will help to sort out these kind of problems.

>
> Thanks,
> yc
>
>
> On 10/25/07, Roberto Saccon <> wrote:
> > No, I was simply thinking about a shell script finding out whether for
> > example yaws is locally or globally installed. Me and many others had
> > this problem in the early days of erlyweb.
> >
> > On 10/25/07, YC <> wrote:
> > > Hi Roberto -
> > >
> > > On 10/25/07, Roberto Saccon <> wrote:
> > > > > You could also programmatically set your include directories in the
> > > > > Makefile or use an Escript to compile, then you don't have to
> hardcode
> > > > > those paths in your src files.
> > >
> > > Are you talking about passing code_path into erl when writing Makefile?
> > > It's not clear how that would enable the hrl to be dynamically set.  Do
> you
> > > have any examples?
> > >  Thanks,
> > > yc
> > >
> > >
> >
> >
> > --
> > Roberto Saccon
> > http://rsaccon.com
> >
>
>


-- 
Roberto Saccon
http://rsaccon.com



More information about the erlang-questions mailing list