Giter Club home page Giter Club logo

Comments (9)

Simn avatar Simn commented on May 27, 2024

I think you're supposed to compile your code as _main.c.

from hashlink.

ncannasse avatar ncannasse commented on May 27, 2024

I have not yet completed x64 support. Can you try with -m32 for now ?

Le 29 sept. 2016 8:40 AM, "Simon Krajewski" [email protected] a
Γ©crit :

I think you're supposed to compile your code as _main.c.

β€”
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#6 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA-bwCAm8n4UA_zC4A0w_W_pNRAzqgqRks5qu11zgaJpZM4KJoWq
.

from hashlink.

andyli avatar andyli commented on May 27, 2024

Simon:
Ah-ha!
Then I guess it makes sense to exclude the hlc project in the VS solution by default.

Nicolas:
Will try that. You're commenting on the wrong issue ;)

from hashlink.

ncannasse avatar ncannasse commented on May 27, 2024

Sorry for the wrong issue, I should not try to use mobile phones :)

from hashlink.

ncannasse avatar ncannasse commented on May 27, 2024

I wonder how we should distribute this. We could have a static hl_runtime static lib to link together with _main.c , this will only require the hl.h and hlc.h headers. For Windows that's for sure, I wonder for Linux if we should let the users do the full compilation themselves or distribute precompiled libs

from hashlink.

andyli avatar andyli commented on May 27, 2024

Let's let Linux users do the full compilation. It is just too hard to build truly portable Linux binaries. When we have a proper linux packaging for hl, the Linux distros will automatically provide the precompiled binaries.

from hashlink.

andyli avatar andyli commented on May 27, 2024

Do you have an existing _main.c that can be used for testing hlc?

from hashlink.

ncannasse avatar ncannasse commented on May 27, 2024
class Main {
    static function main() trace("Hello world!");
}

haxe -hl _main.c -main Main

from hashlink.

ncannasse avatar ncannasse commented on May 27, 2024

HLC should be compilable in both 32 and 64 bits now

from hashlink.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.