ericwlange / hemroid Goto Github PK
View Code? Open in Web Editor NEWBecause building Linux libraries for Android is a pain in the ass.
License: MIT License
Because building Linux libraries for Android is a pain in the ass.
License: MIT License
Seems like webkitgtk is using and it's not getting compiled using std=c++11 . Where would be the best place to pass that flag to GCC?
Here's the hemroid log.
Hello, I tried to update to the latest prerelease of AndroidJSCore and unfortunately I can't get hemroid to compile Javascriptcore - or even glib-2, rather. Below is the hemroid.burst output (horrrrrrible pun, by the way ๐ ). It basically comes down to configure not finding gettext, which, given that you include a patched version of as a package, I suspect is not supposed to happen.
cd /Users/ivo/Projects/hemroid/vault/sandbox/764f3d71-eeb2-472e-905d-dadbfececc88/armeabi/packages/glib-2.46.2; SRCDIR=/Users/ivo/Projects/hemroid/vault/src/glib-2.46.2 PKGDIR=/Users/ivo/Projects/hemroid/packages/glib-2 HOSTDIR=/Users/ivo/Projects/hemroid/vault/sandbox/764f3d71-eeb2-472e-905d-dadbfececc88/glib-2.46.2 CROSSDIR=/Users/ivo/Projects/hemroid/vault/sandbox/764f3d71-eeb2-472e-905d-dadbfececc88/armeabi/packages/glib-2.46.2 ABI=armeabi PLATFORM=/Users/ivo/Projects/hemroid/vault/android-9/armeabi/toolchain/sysroot CFLAGS="-fPIC -DANDROID -Wno-multichar -isystem /Users/ivo/Library/Android/sdk/ndk-bundle//sources/android/support/include -Wno-error=implicit-function-declaration -DANDROID_API=9" CPPFLAGS="-fPIC -DANDROID -DNO_XMALLOC -mandroid -isystem /Users/ivo/Library/Android/sdk/ndk-bundle//sources/android/support/include -Wno-error=implicit-function-declaration -DANDROID_API=9" LIBS=-lc ANDROID_API=9 SANDBOX=/Users/ivo/Projects/hemroid/vault/sandbox/764f3d71-eeb2-472e-905d-dadbfececc88/hemroot/armeabi PKG_CONFIG_DIR= PKG_CONFIG_LIBDIR=${SANDBOX}/lib/pkgconfig:${SANDBOX}/share/pkgconfig: OUTPUT=/Users/ivo/Projects/hemroid/vault/sandbox/764f3d71-eeb2-472e-905d-dadbfececc88/armeabi/out LDFLAGS="-Wl,-rpath-link,/Users/ivo/Projects/hemroid/vault/android-9/armeabi/toolchain/usr/lib -L${SANDBOX}/lib64 -L${SANDBOX}/lib -L${PLATFORM}/usr/lib64 -L${PLATFORM}/usr/lib -pie " PREFIX=arm-linux-androideabi HOST=arm-eabi CROSS_COMPILE=/Users/ivo/Projects/hemroid/vault/android-9/armeabi/toolchain/bin/${PREFIX} CC="${CROSS_COMPILE}-gcc --sysroot=$PLATFORM" CXX="${CROSS_COMPILE}-g++ --sysroot=$PLATFORM" AR=${CROSS_COMPILE}-ar AS=${CROSS_COMPILE}-as LD=${CROSS_COMPILE}-ld RANLIB=${CROSS_COMPILE}-ranlib NM=${CROSS_COMPILE}-nm STRIP=${CROSS_COMPILE}-strip /bin/bash /Users/ivo/Projects/hemroid/packages/glib-2/build_android.sh
configure: loading cache android.cache
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-linux-androideabi-strip... /Users/ivo/Projects/hemroid/vault/android-9/armeabi/toolchain/bin/arm-linux-androideabi-strip
checking for a thread-safe mkdir -p... /Users/ivo/Projects/hemroid/vault/src/glib-2.46.2/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 make supports nested variables... yes
checking whether UID '501' is supported by ustar format... yes
checking whether GID '20' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... (cached) yes
checking for arm-linux-androideabi-gcc... /Users/ivo/Projects/hemroid/vault/android-9/armeabi/toolchain/bin/arm-linux-androideabi-gcc --sysroot=/Users/ivo/Projects/hemroid/vault/android-9/armeabi/toolchain/sysroot
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /Users/ivo/Projects/hemroid/vault/android-9/armeabi/toolchain/bin/arm-linux-androideabi-gcc --sysroot=/Users/ivo/Projects/hemroid/vault/android-9/armeabi/toolchain/sysroot accepts -g... yes
checking for /Users/ivo/Projects/hemroid/vault/android-9/armeabi/toolchain/bin/arm-linux-androideabi-gcc --sysroot=/Users/ivo/Projects/hemroid/vault/android-9/armeabi/toolchain/sysroot option to accept ISO C89... none needed
checking whether /Users/ivo/Projects/hemroid/vault/android-9/armeabi/toolchain/bin/arm-linux-androideabi-gcc --sysroot=/Users/ivo/Projects/hemroid/vault/android-9/armeabi/toolchain/sysroot understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of /Users/ivo/Projects/hemroid/vault/android-9/armeabi/toolchain/bin/arm-linux-androideabi-gcc --sysroot=/Users/ivo/Projects/hemroid/vault/android-9/armeabi/toolchain/sysroot... none
checking how to run the C preprocessor... /Users/ivo/Projects/hemroid/vault/android-9/armeabi/toolchain/bin/arm-linux-androideabi-gcc --sysroot=/Users/ivo/Projects/hemroid/vault/android-9/armeabi/toolchain/sysroot -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... arm-unknown-linux-androideabi
checking for Win32... no
checking for the Android... yes
checking for Mac OS X Carbon support... no
checking for Mac OS X Cocoa support... no
checking whether to enable garbage collector friendliness... no
checking whether to disable memory pools... no
readlink: illegal option -- f
usage: readlink [-n] [file ...]
checking for arm-linux-androideabi-c++... /Users/ivo/Projects/hemroid/vault/android-9/armeabi/toolchain/bin/arm-linux-androideabi-g++ --sysroot=/Users/ivo/Projects/hemroid/vault/android-9/armeabi/toolchain/sysroot
checking whether we are using the GNU C++ compiler... yes
checking whether /Users/ivo/Projects/hemroid/vault/android-9/armeabi/toolchain/bin/arm-linux-androideabi-g++ --sysroot=/Users/ivo/Projects/hemroid/vault/android-9/armeabi/toolchain/sysroot accepts -g... yes
checking dependency style of /Users/ivo/Projects/hemroid/vault/android-9/armeabi/toolchain/bin/arm-linux-androideabi-g++ --sysroot=/Users/ivo/Projects/hemroid/vault/android-9/armeabi/toolchain/sysroot... none
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... unknown
checking for _LARGE_FILES value needed for large files... unknown
checking for arm-linux-androideabi-pkg-config... no
checking for pkg-config... /usr/local/bin/pkg-config
configure: WARNING: using cross tools not prefixed with host triplet
checking pkg-config is at least version 0.16... yes
checking for gawk... (cached) awk
checking for perl5... no
checking for perl... perl
checking for indent... indent
checking for perl... /usr/bin/perl
checking for a Python interpreter with version >= 2.5... python
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... darwin
checking for python script directory... ${prefix}/lib/python2.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.7/site-packages
checking for iconv_open... no
checking for libiconv_open in -liconv... yes
checking for ZLIB... no
checking for inflate in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for LIBFFI... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... no
configure: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: libintl.h: proceeding with the compiler's result
checking for libintl.h... yes
checking for ngettext in libc... no
checking for bindtextdomain in -lintl... yes
checking for ngettext in -lintl... yes
checking for dgettext in -lintl... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... no
configure: error:
*** You must have either have gettext support in your C library, or use the
*** GNU gettext library. (http://www.gnu.org/software/gettext/gettext.html
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.