0

How to use nasm to create gui under linux

I found an example ,https://gist.github.com/nikAizuddin/6fbbc703f1213ab61a8a

but i get an error

nasm main.asm -o main.o -felf64 -w+all -gstabs

ld main.o -o a  -melf_x86_64    -dynamic-linker /lib/ld-linux.so.2 -lX11

print zsh: accessing a corrupt shared library: ./a

what happened?

houxinlin
  • 1
  • 1

0 Answers0