Alfred Arnold's AS Macro Assembler on Linux
Posted: Tue Dec 03, 2019 6:49 pm
(I'll say that trying to search on this forum for topics or posts about the AS Assembler, as opposed to any other assembler, is rather difficult. Sorry if this post duplicates another thread; please point me to that one if it exists.)
In my quest for a better multi-target cross assembler (I currently use ASxxxx) AS looked like it had the best features of the lot, at first glance. So I thought I'd pull down a copy and try it out, but immediately ran into trouble:
So is anybody here using AS on Linux? If so, where do you get it and, if you're building it, how do you handle that?
In the meantime, I think perhaps I'll go play a bit with SB-Assembler which, though wierdly lacking in standard Python packaging, at least Just Runs when you run its main script, either directly or via a symlink in ~/.local/bin/. (And it's actually got an official public repo on GitHub.)
In my quest for a better multi-target cross assembler (I currently use ASxxxx) AS looked like it had the best features of the lot, at first glance. So I thought I'd pull down a copy and try it out, but immediately ran into trouble:
- There are no Linux binaries available. Not that big a deal; I'm fine with building my own.
- There's no official source repo, just a bunch of ZIP files with various versions, including a `-current` one that presumably changes depending on what day you download it. What the heck is with people, in this day and age...well, there's a whole rant in that that I won't get into right now. Fortunately, KubaO maintains a repo on GitHub that regularly imports the latest version. So I'm working from that.
- There's no Makefile.defs for 64-bit Linux. In fact, the only one provided for Linux is Makefile.def-i386-unknown-linux2.x.x, which looks from that version number like it's for Linux as of a decade ago. Trying to build with it gives me, error: CPU you selected does not support x86-64 instruction set.
So is anybody here using AS on Linux? If so, where do you get it and, if you're building it, how do you handle that?
In the meantime, I think perhaps I'll go play a bit with SB-Assembler which, though wierdly lacking in standard Python packaging, at least Just Runs when you run its main script, either directly or via a symlink in ~/.local/bin/. (And it's actually got an official public repo on GitHub.)