Skip to content

nasm 3 breaks everything #31

@dvanhorn

Description

@dvanhorn

nasm 3 was recently released and it breaks because of some change with label names. I haven't investigated very much, instead asking students who happen to get the updated version to move back to a 2.x version. On mac using brew this is a pain, so we have our own formula now and you can install a useable version of nasm with:

brew tap cmsc430/tap
brew install nasm430

For future semesters, we should either revise a86 to work with the newer nasm, or simply give up on nasm. Given that it doesn't do a good job emitting object files that macOS like and also it seems that Linux isn't happy with nasm objects (see #23), it's probably time to move away from it altogether and use gas / clang. Initial experiments were promising so this seems like a good change to make between semesters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions