Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SASM won't build simple hello.asm file on Archlinux64 #198

Open
Jim-215-Fisher opened this issue May 30, 2023 · 0 comments
Open

SASM won't build simple hello.asm file on Archlinux64 #198

Jim-215-Fisher opened this issue May 30, 2023 · 0 comments

Comments

@Jim-215-Fisher
Copy link

My system is Arch linux 64, my file is just a hello.asm The setting for SASM is as follows:

Mode: x64
Assembler : NASM
Assemble optionss : -g -f elf64 $SOURCE$ -l $LSTOUTPUT$ -o $PROGRAM.OBJ$
Linking options : $PROGRAM.OBJ$ $MACRO.OBJ$ -g -o $PROGRAM$  -no-pie
Assembler path : nasm
Linker path : gcc
Object file name : program.o

The build gives following:

[13:18:59] Warning! Errors have occurred in the build:
/tmp/SASM/program.asm:6: error: expression syntax error
/usr/bin/ld: cannot find /tmp/SASM/program.o: No such file or directory
/usr/bin/ld: cannot find : No such file or directory
collect2: error: ld returned 1 exit status
[13:18:59] Before debugging you need to build the program.

The build is supposed to build hello.asm instead of program.asm

Reinstall SASM from the package or build SASM directly from the source won't solve the problem.

@Jim-215-Fisher Jim-215-Fisher changed the title SASM won't build simple hellow.asm file on Archlinux64 SASM won't build simple hello.asm file on Archlinux64 May 30, 2023
Repository owner deleted a comment from piper4hire Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@Jim-215-Fisher and others