Test for the libasm project of school 42.
The default path to your libasm is ../libasm. You can modify it in the Makefile.
$ makeYou need to make fclean when switching from all to bonus.
$ make bonusOr:
Set the environment variable LIBASM_TEST_BONUS to yes.
$ echo 'export LIBASM_TEST_BONUS=yes' >> ~/.zshrchttps://stackoverflow.com/c/42network/questions/1494
To fix the relocation R_X86_64_PC32 against symbol error you can add inside your
libasm source code wrt ..plt after a call to a libc function, like example below:
...
call __errno_location wrt ..plt
...Now you should be able to compile with gcc
