yp

On Tue, Dec 16, 2014 at 1:01 PM, Dan Stromberg <[email protected]> wrote:
> freetype appears to be building smoothly with cmake.  Giving a --host
> didn't help.

Perhaps I spoke too soon: cmake isn't giving me a freetype-config,
although it does give me .h's and a .a .

Also, giving a --host and a --build doesn't cross compile (using
autoconf); it gives me something like:
cd builds/unix; /bin/sh ./configure  '--host=asmjs-unknown-emscripten'
'--build=x86_64-unknown-linux-gnu'
'--prefix=/home/dstromberg/emscripten-libs'
checking build system type... x86_64-unknown-linux-gnu
checking host system type... Invalid configuration
`asmjs-unknown-emscripten': system `emscripten' not recognized
configure: error: /bin/bash ./config.sub asmjs-unknown-emscripten failed
make: *** [setup] Error 1
ERROR    root: Configure step failed with non-zero return code 2!
Command line: ['./configure', '--host=asmjs-unknown-emscripten',
'--build=x86_64-unknown-linux-gnu',
'--prefix=/home/dstromberg/emscripten-libs'] at
/home/dstromberg/src/freetype/src

...and the freetype doc says I should -not- give a $CC to configure to
cross-compile, which I suspect is what emconfigure is doing.

What's the magic incantation to build freetype fully with emscripten?
It sounds like someone's done it before, but there are many ways of
doing it, and so far none of them have worked for me (at least, not
100%).

Thanks.

-- 
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.

Reply via email to