This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Build on Alpine Linux
- From: Florian Weimer <fw at deneb dot enyo dot de>
- To: Nick <nospam at codesniffer dot com>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Sun, 09 Oct 2016 13:27:35 +0200
- Subject: Re: Build on Alpine Linux
- Authentication-results: sourceware.org; auth=none
- References: <1475902151.5016.24.camel@nimble.325Bayport>
* Nick:
> alpineb1:~/gcc/build$ ./a.out
> -ash: ./a.out: not found
>
> alpineb1:~/gcc/build$ file ./a.out
> ./a.out: ELF 64-bit LSB executable, x86-64, version 1 (SYSV),
> dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, not
> stripped
Does Alpine Linux use this ELF interpreter? Have you installed
supported dynamic executables?
You probably have to look at how Apline Linux builds GCC in its build
infrastructure and copy that. I suspect it has reused the GNU/Linux
configure tuple without providing anything very close to the
traditional GNU/Linux environment, so the GNU toolchain
auto-configuration doesn't really work for it.