richfelker / musl-cross-make

Simple makefile-based build for musl cross compiler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how long does it usually take ;-;?

NTT1906 opened this issue · comments

i've been running this for over 2 hours and get a error at the final ;-;
i can't copy the error but i'm trying to do this in termux android

sorry for bad English and poorly information about the problem

Depending on the speed of your Android device, that might be within the realm of normal. Can you post a screenshot of the error? I'm guessing your termux environment is missing some software needed.

Depending on the speed of your Android device, that might be within the realm of normal. Can you post a screenshot of the error? I'm guessing your termux environment is missing some software needed.

i'm running from the start again because i forgot to screenshot it :'<
btw, thanks for fast replying ^^
my first warning is something like warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option]
my config.mak only has TARGET = aarch64-linux-musl
my android version is 11
my termux information is

Application version:
0.117
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://packages.termux.org/apt/termux-main/ stable main
# science-repo (sources.list.d/science.list)
deb https://packages.termux.org/apt/termux-science science stable
# game-repo (sources.list.d/game.list)
deb https://packages.termux.org/apt/termux-games games stable
Updatable packages:
curl/stable 7.79.0 aarch64 [upgradable from: 7.78.0]
libcurl/stable 7.79.0 aarch64 [upgradable from: 7.78.0]
Android version:
11
Kernel build information:
Linux localhost 4.9.227-perf+ #1 SMP PREEMPT Wed Aug 25 16:29:10 CST 2021 aarch64 Android
Device manufacturer:
vivo

Screenshot_20210917_000137
also is this normal?

Screenshot_20210917_002835
it ended like this...

I'm not familiar with termux so I asked around a little, and as I understand it, by default it does not provide a standards-honoring environment but one using the host Android Bionic as its libc, which has lots of bugs and is likely not capable of hosting gcc. Apparently they have a feature called a "proot" you can install a real distro inside, which should suffice to build mcm.

I'm not familiar with termux so I asked around a little, and as I understand it, by default it does not provide a standards-honoring environment but one using the host Android Bionic as its libc, which has lots of bugs and is likely not capable of hosting gcc. Apparently they have a feature called a "proot" you can install a real distro inside, which should suffice to build mcm.

but proot is so slow :<, it will take me a day

Screenshot_20210917_084212
same issues :<

I'm not sure what to tell you without knowing termux better. Can you cross-compile your toolchain from a more capable system where it doesn't take so long, and move the result to your Android device?

I'm not sure what to tell you without knowing termux better. Can you cross-compile your toolchain from a more capable system where it doesn't take so long, and move the result to your Android device?

okay, sound good ^^