Skip to content

wasm-ld can't recognize .o files. What am I doing wrong? #21234

Closed Answered by sbc100
98ahni asked this question in Q&A
Discussion options

You must be logged in to vote

Oh! I see the problem. You are using -x c++-header which is tell clang to output a C++ pre-compiled header.

C++ pre-compiled headers are not supposed to be passed to the linker like that and are normally called .pch .

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@98ahni
Comment options

Answer selected by 98ahni
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants