Can you share the specific errors you are seeing? In general emscripten supports all/most POSIX headers but does *not* support linux-specific headers. i.e. if your library compiles on macOS and linux it should also compile with emscripten.
cheers, sam On Fri, Oct 20, 2023 at 8:44 AM MONISHA <[email protected]> wrote: > Hello, > When trying to convert cyclictest.c to a wasm file, some errors were > popping up. I was trying to find out the reason. Like emscripten which > compiles the c code to wasm, that is not reading the header files that are > specific to linux from the C library. Also header files related to POSIX is > not read by emscripten. > > Can anyone suggest how this issue of emscripten compiler not reading the > header files that are present in the C library can be solved? > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/emscripten-discuss/104996b0-14f6-4430-a48e-8614700c7055n%40googlegroups.com > <https://groups.google.com/d/msgid/emscripten-discuss/104996b0-14f6-4430-a48e-8614700c7055n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/CAL_va29ONTMVy68a7bFt_Xz9rxxtyp661_qp_%3DFvOzP2Pfyzbg%40mail.gmail.com.
