[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] wrong interpreter on armhf
From: |
Christian Jullien |
Subject: |
Re: [Tinycc-devel] wrong interpreter on armhf |
Date: |
Tue, 22 Feb 2022 15:29:02 +0100 |
What happens if you patch:
tcc.h:# define CONFIG_TCC_ELFINTERP "/lib/ld-musl-arm.so.1"
Can you then correctly link and execute the generated executable?
-----Original Message-----
From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=orange.fr@nongnu.org] On
Behalf Of raingloom
Sent: Tuesday, February 22, 2022 00:45
To: tinycc-devel@nongnu.org
Subject: [Tinycc-devel] wrong interpreter on armhf
Hi! I recently tried tcc on a postmarketOS (Alpine) device. It seems to
generate the correct binary for hello world and even -run worked, but
the resulting binary can't be run directly.
It expects /lib/ld-musl-arm.so.1, but only /lib/ld-musl-armhf.so.1
exists.
_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel