Build unix micropython for ARM on x86_64 machine

I am looking for a way to build micropython for my 3d printer which runs on some 64-bit arm processor. And I do not want to build micropython on that machine. How can i build micropython on my x86_64 lapptop?
I tried to build unix port with installed gcc-aarch64-linux-gnu and other stuff and passed variables like CC, LD AR and others but it always build x86_64 version

Architecture:                    aarch64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
CPU(s):                          4
On-line CPU(s) list:             0-3
Thread(s) per core:              1
Core(s) per socket:              4
Socket(s):                       1
Vendor ID:                       ARM
Model:                           2
Model name:                      Cortex-A35
Stepping:                        r0p2
CPU max MHz:                     1104.0000
CPU min MHz:                     408.0000
BogoMIPS:                        48.00
Vulnerability Itlb multihit:     Not affected
Vulnerability L1tf:              Not affected
Vulnerability Mds:               Not affected
Vulnerability Meltdown:          Not affected
Vulnerability Mmio stale data:   Not affected
Vulnerability Retbleed:          Not affected
Vulnerability Spec store bypass: Not affected
Vulnerability Spectre v1:        Mitigation; __user pointer sanitization
Vulnerability Spectre v2:        Not affected
Vulnerability Srbds:             Not affected
Vulnerability Tsx async abort:   Not affected
Flags:                           fp asimd aes pmull sha1 sha2 crc32 cpuid