[erlang-questions] Using the half-word emulator with the erlang-solutions ubuntu package
Konrad Gądek
konrad.gadek@REDACTED
Thu Apr 11 14:03:34 CEST 2013
I consulted the half-word emulator option: we shall have such packages (and others) in future, but this is not a priority and, I must admit, Karol and I have some other work to do now, so there's no deadline for that unfortunately.
In the meantime, if you need half-word emulator now, I'd suggest using kerl[1] to build your custom Erlang -- it's like rvm/virtualenv but for Erlang and it's easy to use (yes! 2 or so commands to build&install it!).
You shall add --enable-m64-build --disable-hipe --enable-halfword-emulator --with-ssl to KERL_CONFIGURE_OPTIONS (some more info here[2] and in the kerl readme[3]; ~/.kerlrc file I use for my projects is here: [4]; in ESL we don't use kerl).
Take a note that it's a known issue for kerl[5] to silently build Erlang without crypto - and probably everyone needs it (at least for rebar) - so keep an eye on that.
In case of any problems, don't hesitate to ask :)
[1] https://github.com/spawngrid/kerl
[2] http://www.erlang.org/doc/installation_guide/INSTALL.html#id62320
[3] https://github.com/spawngrid/kerl/blob/master/README.md
[4] http://pastebin.com/qWVC6rHr
[5] https://github.com/spawngrid/kerl/issues/31
/Konrad Gądek
----- Original Message -----
From: "pablo platt" <pablo.platt@REDACTED>
To: "Konrad Gądek" <konrad.gadek@REDACTED>
Cc: erlang-questions@REDACTED
Sent: Wednesday, April 10, 2013 9:02:48 PM
Subject: Re: [erlang-questions] Using the half-word emulator with the erlang-solutions ubuntu package
Is it possible to add a 64bit with half-word enabled and HiPE disabled package in addition to the 32bit and 64bit packages?
Is there a chance HiPE and half-word will work together in a future release?
Thank you for the packages.
They are extremely helpful.
On Wed, Apr 10, 2013 at 9:36 PM, Konrad Gądek < konrad.gadek@REDACTED > wrote:
Hi,
As far as I'm aware, we don't have half-word emulator enabled in our packages, so this seems like an erroneous statement on ESL website -- I'll investigate it more tomorrow.
Both disabling HiPE and enabling half-word emulator are done while building packages. Some more info: http://stackoverflow.com/a/1185490/547223
/Konrad Gądek
----- Original Message -----
From: "pablo platt" < pablo.platt@REDACTED >
To: erlang-questions@REDACTED
Sent: Wednesday, April 10, 2013 2:59:07 PM
Subject: [erlang-questions] Using the half-word emulator with the erlang-solutions ubuntu package
Hi,
The page on the erlang-solutions website says that the packages support the half-word emulator:
https://www.erlang-solutions.com/downloads
"These have included HiPE enabled, 32 and 64 bit configurations, alongside the half-word emulator"
I see [hipe] when starting the shell so half-word is probably not enabled.
I'm not using hipe so there is no problem disabling it.
Do I need to set a flag when installing the deb package?
Do I need to use a flag when starting erlang or creating a release with rebar in the vm.args?
Are there reasons not to use half-word besides the 4GB process memory limit?
Thanks
_______________________________________________
erlang-questions mailing list
erlang-questions@REDACTED
http://erlang.org/mailman/listinfo/erlang-questions
More information about the erlang-questions
mailing list