Hello!

Tom Stellard <tstel...@redhat.com> writes:
> Would it be possible to re-use the existing libcxx package and
> just build it twice, once for the host and once for wasm?  Kind
> of like what some packages do for mingw?

Maybe; I assume nor me nor Jan have any previous experience with
building libcxx, so we are not really qualified to answer.

The upstream wasi-sdk project (which my wasi-libc is one part of)
generally relies on llvm toolchain for everything. The SDK itself is
basically a llvm/clang/clang++ built to emit WASM with associated
standard libraries thrown in.

Now it might be possible to just build the GNU libcxx for wasm32-wasi
target (presumably using wasi-libc as the libc implementation)
and that would be usable; on the other hand, it might not, and the llvm
libcxx would be needed.

Tom, would you be able to provide a test build of libcxx for
wasm32-wasi, so the other Jan can see if that would work for him?
Then we can decide what approach to take next.
--
Jan Staněk
Software Engineer, Red Hat
jsta...@redhat.com   irc: jstanek

Attachment: signature.asc
Description: PGP signature

--
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to