freetype appears to be building smoothly with cmake. Giving a --host didn't help.
Is there a common place, when using the emscripten SDK, to install libraries like libfreetype.a? Somewhere that the compiler will look for them? A simple "make install" wants to put freetype under /usr/local, but that doesn't "feel right" for emscripten. Thanks. On Tue, Dec 16, 2014 at 12:23 PM, Jukka Jylänki <[email protected]> wrote: > The host --host=asmjs-unknown-emscripten has been sometimes used, but if I > remember correctly, simply doing 'emconfigure ./configure' for Freetype > should be enough. That's what our test suite does at least. Note that for > Freetype, you might need a fix to their function pointer signatures, see > here: > https://github.com/juj/emscripten-freetype/commit/6b415373577fef697fd2ad6472939eb221d64a13 > . I think recent versions of Freetype come with a CMakeLists.txt file as > well, in which case using 'emcmake cmake /path/to/freetype' to configure > should also work. > > 2014-12-16 22:11 GMT+02:00 Dan Stromberg <[email protected]>: >> >> Hi folks. >> >> I'm attempting to build freetype on emscripten. >> >> it appears to be trying to build an executable, >> freetype/src/objs/apinames, as LLVM bitcode, which is of course not >> runnable directly. >> >> I'm hoping that if I specify a suitable --host to the configure >> script, that freetype's build system will recognized that it is being >> cross-compiled, and react accordingly. >> >> Which leads to my question: Is there a well-explored --host (ala >> config.guess) that works well with emscripten? >> >> 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. > > -- > 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.
