stddef.h is located at https://github.com/kripken/emscripten/blob/incoming/system/include/libc/stddef.h, which is a built-in "system" include directory when building with Emscripten, so no -I command line directives are needed. This sounds like something in the GMP build system to take a look more specifically?
2017-12-22 12:11 GMT+02:00 Nicolas Gailly <[email protected]>: > > > Le jeudi 5 novembre 2015 20:46:20 UTC+1, Sammy Joe Osborne a écrit : >> >> Yea, my emcc -v runs the sanity check and such fine, no errors. I'll try a >> few things when I'm home and report back. > > > I'm running into the same issue on Linux as well. My emcc -v reports fine, > my PATH is correct but when I'm trying to compile GMP I still get the error > as "stddef.h" is not found. > Have you resolved this issue ? > >> >> >> On Thu, Nov 5, 2015 at 1:36 PM, Flix <[email protected]> wrote: >>> >>> >>>> When you say if I have configured emsdk correctly, what is it I need to >>>> configure? Or what path needs to be added to my PATH, the path directly to >>>> the libc folder? >>>> I'll give this a go when I get home tonight. >>> >>> >>> No, you should just try: >>>> >>>> emcc -v >>> >>> And it should not output any error (provided that it finds emcc, but you >>> say you can launch emmake, so it should work. >>> >>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "emscripten-discuss" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/emscripten-discuss/Rk-zWwb-iGw/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >> >> > -- > 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]. > For more options, visit https://groups.google.com/d/optout. -- 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]. For more options, visit https://groups.google.com/d/optout.
