[erlang-questions] Problems cross-compiling OTP on ARM

Matthias Lang <>
Fri Sep 26 23:21:31 CEST 2008


On Friday, September 26, Claes Wikstrom wrote:

> Cross compilation support in the OTP make structure is severely
> missing. I believe this is a truly important part that should be
> addressed in a more formal way that Matt Langs patch set.

Yes, I agree, my patches are quick and dirty. I was far too much of a
coward to even think about a complete fix. Though some of the things
in the patches, especially Brian Zhou's, should be completely
non-controversial, e.g.

-DED_LD=ld
+if test "x$LD" = x; then
+ DED_LD=ld
+else
+ DED_LD=$LD
+fi

but still they get ignored. I'm guessing there aren't any paying
customers that need cross compilation.

> Quite a bit of work to get cross compile support all the way
> into OTP make -  and support it.

Yes, exactly. And it's going to be unpleasant, unglamorous and thankless
work. I bet it's at the top of someone's list ;-)

Matt



More information about the erlang-questions mailing list