You can try to force js in configure with EMCONFIGURE_JS=1 or 2. Or, the question is what are those crtbegin.o, -lgcc -lgcc_s things.
- Alon On Sat, Feb 28, 2015 at 6:37 PM, bobajeff <[email protected]> wrote: > I having a little trouble with emconfigure. When I use the normal > configure by it's self everything is fine but when I used it I get > something like this: > > configure:2237: error: C compiler cannot create executables > See `config.log' for more details. > configure: exit 77 > > Here's the config.log: > https://github.com/bobajeff/fastcompconfdebug/blob/master/config.log > > I think the relevant part is this: > > Target: x86_64-unknown-linux-gnu > Thread model: posix > Selected GCC installation: > INFO root: [32m(Emscripten: Running sanity checks) [0m > emcc (Emscripten GCC-like replacement + linker emulating GNU ld ) 1.29.0 > configure:2135: $? = 0 > configure:2142: /mnt/home/ec2-user/build/emscripten/emcc -V >&5 > clang: error: unsupported option '-V -nostdinc' > clang: error: no input files > configure:2145: $? = 1 > configure:2168: checking for C compiler default output file name > configure:2195: /mnt/home/ec2-user/build/emscripten/emcc conftest.c >&5 > /usr/bin/ld: cannot find crtbegin.o: No such file or directory > /usr/bin/ld: cannot find -lgcc > /usr/bin/ld: cannot find -lgcc_s > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > configure:2198: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > | #define PACKAGE_NAME "LLVM" > | #define PACKAGE_TARNAME "llvm" > | #define PACKAGE_VERSION "3.4svn" > | #define PACKAGE_STRING "LLVM 3.4svn" > | #define PACKAGE_BUGREPORT "http://llvm.org/bugs/" > | #define LLVM_VERSION_MAJOR 3 > | #define LLVM_VERSION_MINOR 4 > | /* end confdefs.h. */ > | > | int > | main () > | { > | > | ; > | return 0; > | } > configure:223 > > I'm not sure what configure is trying to do diffrently when emconfigure is > in there. BTW This is using the current master of emscripten from git > compiled manually. > > -- > 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.
