Date: Tue, 2 Feb 2021 10:32:36 -0400 From: Mitchell Horne <mhorne@freebsd.org> To: Rich Dunkle <rdunkle@smallcatbrain.com> Cc: freebsd-riscv <freebsd-riscv@freebsd.org> Subject: Re: assembler like nasm? Message-ID: <CADeAsy2R1OnveToiMD4775pv7Oam_vHcjdTZdP_QZXCLssP2Yg@mail.gmail.com> In-Reply-To: <4df37f7e-6ce8-7a48-7e48-1524c09a9065@smallcatbrain.com> References: <4df37f7e-6ce8-7a48-7e48-1524c09a9065@smallcatbrain.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 28, 2021 at 2:38 AM Rich Dunkle <rdunkle@smallcatbrain.com> wrote: > > I have been working with the qemu and image for 13-CURRENT riscv64 > (20210107). It appears to work well. I was able to use Poudriere on > amd64 to build shells/bash. > > I was wondering what program is the riscv equivalent of nasm? > The version of clang included in the base system can be used to invoke the assembler, e.g. the following should produce an object file: $ clang -c foo.S You could also make use of the standalone GNU assembler included in the riscv64-none-elf-binutils package (devel/binutils@riscv64_none_elf). Cheers, Mitchell > _______________________________________________ > freebsd-riscv@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-riscv > To unsubscribe, send any mail to "freebsd-riscv-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADeAsy2R1OnveToiMD4775pv7Oam_vHcjdTZdP_QZXCLssP2Yg>