erlc ja hipe

Taavi Talvik taavi@REDACTED
Thu Oct 17 22:17:20 CEST 2002

On Thu, 17 Oct 2002, Happi wrote:

> From: "Taavi Talvik" <taavi@REDACTED>
> > Does erlc support native compilation - i.e. similar to c(module,native)
> > in interpreter?
> Yes, you give the option as
>   +native

hmm.. seems to be freebsd specific problem.

My first tries where:

~/work/test/bin/erlc -o ../ebin +hipe xgs.erl
erlc: Error 2 executing 'ecc'.

~/work/test/bin/erlc -o ../ebin +native xgs.erl
erlc: Error 2 executing 'ecc'.

after putting ecc into path (however erlc itself should figure out

~/work/test/bin/erlc -o ../ebin +native xgs.erl
./xgs.erl:none: internal error in native_compile;
crash reason: {undef,[{hipe,compile,

but in interpreter c(module,native) works and generated module works too.

best regards,

More information about the erlang-questions mailing list