kripken / gmp.js

A port of the GNU Multiple-Precision Library (GMP), a library for arbitrary precision arithmetic, to JavaScript using Emscripten
GNU General Public License v3.0
44 stars 12 forks source link

Hm... having issues with compiling #3

Closed JasonGiedymin closed 12 years ago

JasonGiedymin commented 12 years ago

OSX 10.8.2

I have emscripten and it works fine. I also used homebrew to install gmp and llvm. Manually built clang.

Emscripten tests work great.

I can manually configure and make gmp but it emcc fails. Here is the log. Before I start digging wondered if you knew what could be up?

checking build system type... none-none-none checking host system type... none-none-none checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking ABI=long checking compiler /usr/local/emscripten/emcc ... no checking ABI=longlong checking compiler /usr/local/emscripten/emcc ... no checking for none-gcc... /usr/local/emscripten/emcc checking whether the C compiler works... no configure: error: in `/Users/jason/programming/sandbox/gmp.js': configure: error: C compiler cannot create executables

JasonGiedymin commented 12 years ago

After some sleep I found that clang was not where it was expecting it to be.

ted-strauss-K1 commented 11 years ago

Where was it expecting it to be? I'm having the same issue. thx