-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make HL Bytecode as executable (like nekotools boot
)
#66
Comments
The existing |
We already discussed how to properly embed HL bytecode in executable with
@pperidont in the meanwhile you can simply name your hl file as hlboot.dat
and the hl.exe will start it automatically
Le 11 juin 2017 08:49, "Andy Li" <[email protected]> a écrit :
… The existing nekotools boot ... implementation is problematic... See
HaxeFoundation/neko#130
<HaxeFoundation/neko#130>
Unless we have a way to generate a "proper" binary on all major platform,
using a c compiler is the right way to go.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#66 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA-bwI1Pi2qDSi5VPS_CD_-vhC0pmd4Zks5sC44UgaJpZM4N2Sii>
.
|
Would it be, in theory, possible to produce object files from HL bytecode? LLVM has support for garbage collection and hashlink might be a good target to translate to LLVM. |
@ppenzin you can already generate C files from HL and compile them to native using any C compiler |
Closing this, as I have no time for it. |
While HL does compiles to C executable, it's currently not possible to simply make .hl file as executable file which depends on pre-installed HL in the system.
I request feature of making executable for .hl bytecode which should run the installed HashLink.
Neko already have such feature via
nekotools boot
utility, which were pretty convenient when executable file output were required but compilation time weren't as long as for C++.The text was updated successfully, but these errors were encountered: