SASM
SASM copied to clipboard
Warnings in builder ?
uname -a
Linux 970a 5.15.32-1-MANJARO #1 SMP PREEMPT Mon Mar 28 09:16:36 UTC 2022 x86_64 GNU/Linux
sasm 3.12.2
When I try to build the simple following code manually, it works fine but not in sasm ?
bits 32
section .data
message db "Hello World!", 10
section .text
global _start
_start:
mov eax, 4
mov ebx, 1
mov ecx, message
mov edx, 12+1
int 0x80
mov eax, 1
mov ebx, 0
int 0x80
nasm -g -f elf32 test2.asm -l list
ld test2.o -m elf_i386 -o test2
./test2
Hello world !
Here is my sasm configuration:
- -g -f elf32 $SOURCE$ -l $LSTOUTPUT$ -o $PROGRAM.OBJ$
- Build in current directory
- Disable linking
I'm looking for logs file and I did not found I tried an other simple code with the same result ?
Thank you for any help ;o)
here is the error message in sasm:
[07:43:20] Build started...
[07:43:20] Warning! Errors have occurred in the build:
You shouldn't disable linking. You should link it with ld and specify correct linking options for it (see help): $PROGRAM.OBJ$ -m elf_i386 -o $PROGRAM$