Home
       build: Translate between aarch64 and amd64 - scc - simple c99 compiler
  HTML git clone git://git.simple-cc.org/scc
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
   DIR README
   DIR LICENSE
       ---
   DIR commit b0b4485f6041a17dca20687a2e78002f7451e087
   DIR parent 38abc9a2afdbbac7dc6a0019212d71959d99fccd
  HTML Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
       Date:   Sat,  9 Mar 2024 10:45:39 +0100
       
       build: Translate between aarch64 and amd64
       
       Some linux distributions use aarch64 while other systems use
       arm64 and scc decided to use arm64, and for that reason it
       is required a translation between them.
       
       Diffstat:
         M scripts/config                      |       5 ++++-
       
       1 file changed, 4 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/scripts/config b/scripts/config
       @@ -37,9 +37,12 @@ do
                        mach=`uname -m`
        
                        case $mach in
       -                amd64|x86_64)
       +                x86_64)
                                mach=amd64
                                ;;
       +                aarch64)
       +                        mach=arm64
       +                        ;;
                        esac
        
                        sys=`uname -s | tr 'A-Z' 'a-z'`