From 702390105f4982590b739508df6b7e8b933b0a84 Mon Sep 17 00:00:00 2001 From: cacharle Date: Sun, 15 Nov 2020 17:00:20 +0100 Subject: Update README.md --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c215344..24e1336 100644 --- a/README.md +++ b/README.md @@ -25,11 +25,13 @@ Set the environment variable `LIBASM_TEST_BONUS` to `yes`. $ echo 'export LIBASM_TEST_BONUS=yes' >> ~/.zshrc ``` -## Help, ft\_write and ft\_read crash for no reason +## Common issues + +### ft\_write and ft\_read crash -## Compilation on linux with gcc +### 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: @@ -40,4 +42,4 @@ libasm source code `wrt ..plt` after a call to a libc function, like example bel ... ``` -Now you should be able to compile with `gcc` \ No newline at end of file +Now you should be able to compile with `gcc` -- cgit