You are not logged in.

#1 2021-12-15 17:54:41

potuz
Member
Registered: 2009-10-23
Posts: 113

[SOLVED] yasm with arm64 support

How can I install yasm on an x86 system but with support for assembler for aarch64?

Last edited by potuz (2021-12-20 11:08:25)

Offline

#2 2021-12-15 21:46:41

AndroGR
Member
From: Athens, Greece.
Registered: 2021-10-15
Posts: 53

Re: [SOLVED] yasm with arm64 support

doas paru -Ss yasm
OR if you have usual utilities:
sudo yay -Ss yasm
Anytime you're looking for a package, do that.
The package you asked for is in the normal repositories, just do sudo pacman -S yasm.


Arch | AMD Ryzen 5 1500X | AMD Radeon RX550 4GB | 16GB RAM (3200Mhz) | KDE Plasma | Linux Zen / Custom Kernel

Offline

#3 2021-12-16 11:31:30

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: [SOLVED] yasm with arm64 support

https://yasm.tortall.net/ wrote:

Yasm currently supports the x86 and AMD64 instruction sets, accepts NASM and GAS assembler syntaxes, outputs binary, ELF32, ELF64, 32 and 64-bit Mach-O, RDOFF2, COFF, Win32, and Win64 object formats, and generates source debugging information in STABS, DWARF 2, and CodeView 8 formats.

looks like yasm doesn't support that architecture.

Maybe ask on archlinux arm forum what they use for assembler then check if it can run on x86 ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#4 2021-12-20 11:08:00

potuz
Member
Registered: 2009-10-23
Posts: 113

Re: [SOLVED] yasm with arm64 support

Lone_Wolf wrote:
https://yasm.tortall.net/ wrote:

Yasm currently supports the x86 and AMD64 instruction sets, accepts NASM and GAS assembler syntaxes, outputs binary, ELF32, ELF64, 32 and 64-bit Mach-O, RDOFF2, COFF, Win32, and Win64 object formats, and generates source debugging information in STABS, DWARF 2, and CodeView 8 formats.

looks like yasm doesn't support that architecture.

Maybe ask on archlinux arm forum what they use for assembler then check if it can run on x86 ?

Yep, I should have checked that before. Was trying to port some assembly written with extended macros using xdefine, which gnu as does not support (gnu' s as works fine on arm).

Offline

Board footer

Powered by FluxBB