Skip to content

can I build tinygo project as a static link file and link it to another C project? #3067

Open
@jifanchn

Description

@jifanchn

As described above.

I'm wondering if we can just create a very tiny bootstrap C project and link it to a tinyGO program?

And in that case, tinygo output will be "xxx.h" and "xxx.so" and finally link to a basic C project which prepare working environments for tinygo core.

So that maybe we can use most currently useful C platform code and handle data with tinygo.

Nor don't we need to write platform hardware related code in tinygo and tinygo itself can run as a VM(runtime).

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionQuestion about usage of TinyGo

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions