Chongyun Lee
Chongyun Lee
I will try to compile this but I don't think this will work properly. Termux isn't a Linux environment that supports multilib.
The `gcc-default` package is used to change default compiler. If you want to use `gcc-11` as the default compiler, just run `apt install gcc-default-11`.
I don't get your point... Which compiler do you want to use as a default one? `gcc-default` will symlink all the compiler symlinks (cc/c++/f90) to gcc and remove the symlinks...
Happy new year! I will try to answer your questions. #### 1. About the gcc_s If you're using the `gcc` package in TUR, `libgcc_s` is bundled as static library which...
Try to override cpp with `export CPP="$(command -v cc) -E"`.
That seems a bug in the configure script, rather than a bug in gcc package.
 This is also strange anyway. If you're using pure termux, it should be `aarch64-unknown-linux-android`.
So I think this is a bug of `libunwind`, not a bug in the gcc package. Anyway, try to override the C++ preprocessor using `export CXXCPP="c++ -E"`.
Make sure that you've run `apt update && apt upgrade`. Termux is a rolling distribution and never do a partial update. The package `ndk-sysroot-gcc-compact` should not conflict with any packages...
This is a warning, rather than an error. And this is an intended behavior. `ndk-sysroot-gcc-compact` will provide the same files as `ndk-sysroot`.