WebAssembly / WebAssembly/WASI

Any resources on how to compile software with dependency?

Open
#313 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

S-inactive
Dominant language
Rust
Stars
5.8k
Forks
333
Avg merge
2d 13h
Merged PRs (30d)
3

Description

Is there a recommended workflow for compile software with library dependencies, all written in C. I have a project, which can be compiled with autotools and a library, libevent, which can be compiled using autotools or cmake. I first use emscripten to compile the libevent using emconfigure and emmake to generate .wasm files. Since the software using socket so I want to link the library to the existing source code. I was stuck here so is there any solution for that?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue mentions a C project, libevent, autotools, CMake, and the emconfigure/emmake workflow, but no repository files or tests. Start by reproducing the described libevent and project build steps, then determine what documentation would clearly explain compiling and linking the dependency. Done would be a documented, reproducible workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, cmake, wasm
Domain
build-system
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.