Dman95 / SASM

SASM - simple crossplatform IDE for NASM, MASM, GAS and FASM assembly languages

Home Page:http://dman95.github.io/SASM/

Repository from Github https://github.comDman95/SASMRepository from Github https://github.comDman95/SASM

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

Jim-215-Fisher opened this issue · comments

commented

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.

The problem is in the expression syntax error on hello.asm:6. "program.asm" name is normal and used for temporary file.