libasm_test
libasm_test copied to clipboard
libasm test
libasm_test 
Test for the libasm project of school 42.

Usage
The default path to your libasm is ../libasm. You can modify it in the Makefile.
$ make
Bonus
You need to make fclean when switching from all to bonus.
$ make bonus
Or:
Set the environment variable LIBASM_TEST_BONUS to yes.
$ echo 'export LIBASM_TEST_BONUS=yes' >> ~/.zshrc
Common issues
ft_write and ft_read crash
https://stackoverflow.com/c/42network/questions/1494
Compilation on linux with gcc
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