AndreRH / hangover

Hangover runs simple Win32 applications on arm64 Linux
GNU Lesser General Public License v2.1
1.26k stars 92 forks source link

./build.android.sh not working with clang #4

Closed skompc closed 6 years ago

skompc commented 6 years ago

i fixed this by changing all mention of clang++ to g++ and all mention of clang to gcc or is there another way around this? btw im building from cygwin64 on windows

skompc commented 6 years ago

just an idea for android support... i made a repo about it https://github.com/skompc/hold-my-beer just wondering what you guys think! I'm gonna upload a build once i make it... basically it runs the qemu exe in wine-aarch64 manually

AndreRH commented 6 years ago

I laughed quite hard at the name, good choice :D But I'm not sure how stable this works, because you don't compile qemu with the Android toolchain, do you? Also cygwin is a bad idea for such a task, also quite slow I bet

AndreRH commented 6 years ago

I made some changes, please have a look at the new makefile

skompc commented 6 years ago

unrelated bug on github... might make u laugh... btw im cloning repo now, will post results of make screenshot

its actually caused by my vm being on pause for a day

skompc commented 6 years ago

didn't work at first but after putting the ndk/bin folder (as well as the ndk/aarch64-linux-andfroid/bin folder) the libpng build worked... freetype compalins:

checking for suffix of native executables... as: unrecognized option '--64' configure: error: native C compiler is not working

my build enviroment is now ubuntu 64 bit

edit: fixed by removing the ndk/aarch64-linux-android/bin folder from path

skompc commented 6 years ago

ran into some trouble with glib. run the following in glib directory to fix

libtoolize aclocal autoconf autoheader libtoolize automake --add-missing

also im stuck in the qemu step... it says zlib check failed

finally which os are you using to build? might help me out

AndreRH commented 6 years ago

fixed by removing the ndk/aarch64-linux-android/bin folder from path sounds wrong How did you made the Android toolchain?