Re: [scc-dev] aarch64 support.

From: Roberto E. Vargas Caballero <k0ga_at_shike2.com>
Date: Sat, 9 Mar 2024 10:54:54 +0100

Hi,

On Sat, Mar 09, 2024 at 01:47:25AM -0300, Brian Mayer wrote:
> Hi. I'm trying to compile scc in an aarch64 machine (pinebook pro) and
> make quickly throws the error:
>
> $ make CONF=arm64-linux

Scc compiles the binary for the host system but with support for all
the supported configurations, thus the use of CONF is not required
in your case if you are building it in a pinebook pro. Anyway, I
found that the configuration script it not translating correctly
between aarch64 and arm64. I just pushed a commit that should fixed
it. You have to compile it just with:

        $ make

and the build should work. I didn't test so much the aarch64 support,
so I am not sure of what it is the state now. Please, I would really
appreciate if you come back with the result (please, keep in mind
that scc is still under heavy development and it may have bugs and
unsupported features).

Also, I am going to try to improve the documentation to clarify when
it is required to use CONF.

> ...
> ...
> scripts/rules.mk:33: scripts/build/conf/aarch64-linux.mk: No such file
> or directory
> make[1]: *** No rule to make target
> 'scripts/build/conf/aarch64-linux.mk'. Stop.
>
> I'm not a specialist but AFAIK arm64 and aarch64 are the same thing,
> so I expected it to compile.

It is the same thing, but some people use aarch64 and other use arm64
and usually you have to use the one that the build expects. In this
case scc expects arm64.

Regards,
--
To unsubscribe send a mail to scc-dev+unsubscribe_at_simple-cc.org
Received on Sat 09 Mar 2024 - 10:54:54 CET

This archive was generated by hypermail 2.3.0 : Sat 09 Mar 2024 - 11:00:31 CET