Build on Alpine Linux

Florian Weimer fw@deneb.enyo.de
Sun Oct 9 11:27:00 GMT 2016


* 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.



More information about the Gcc-help mailing list