On Monday 14 September 2009 01:54:46 Ralf Wildenhues wrote:
> Hrmpf.
>
> >  ## Test that the lib path detection really detected a directory:
> > -if test "$ERLANG_LIB_DIR_stdlib" != "not found" \
> > +if test "$ERLANG_LIB_DIR_stdlib" != "no" \
>
> Please consider this particular line unchanged, this setting comes from
> AC_ERLANG_CHECK_LIB.  Sorry.

Yes, apart from that line, your patch looks good to me.

If you need more help from me to test with a cross-compiler, I'm afraid I'm 
not familiar enough with setting up a cross-compiler.

It would make sense to have an Erlang cross-compiler, since recent versions of 
the Erlang compiler can generate and embed native code in the bytecode files, 
but for a single architecture only. I've never tried, and AFAIK nobody has 
ever tried to set it up as a cross-compiler.
Is it just a matter of renaming "erlc" into "i386-gnu-erlc", for instance?

--
Romain Lenglet


Reply via email to