Skip to content

Commit 956835f

Browse files
authored
Merge pull request #76 from guyush1/update-compilation-guide
docs: Update compilation guide
2 parents b94af86 + 8bf9fc3 commit 956835f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

compilation.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,16 @@ Work according to the following steps:
4141
2. run `./autogen.sh` to create the configure script from configure.sh.
4242
3. create a build dir (e.g build), and then cd into it.
4343
4. run `../configure --enable-static`
44-
5. run `cp -r ./include ./lib/.libs/`
45-
6. run `mkdir ./lib/.libs/lib/`
46-
7. run `cp ./lib/.libs/libiconv.a ./lib/.libs/lib/`
44+
5. run `make -j$(nproc)`
45+
6. run `cp -r ./include ./lib/.libs/`
46+
7. run `mkdir ./lib/.libs/lib/`
47+
8. run `cp ./lib/.libs/libiconv.a ./lib/.libs/lib/`
4748

4849
## 2) Compiling gdb
4950

5051
Clone gdb from from my forked respository - https://github.com/guyush1/binutils-gdb/tree/gdb-static.
5152

52-
Make sure to check out to the **gdb-static** branch - this branch contains all of the changes i had to do to the build system in order for it to compile gdb statically.
53+
Make sure to `git checkout` to the **gdb-static-16.3** branch - this branch contains all of the changes i had to do to the build system in order for it to compile gdb statically.
5354

5455
Work according to the following steps:
5556
1. create a build dir.

0 commit comments

Comments
 (0)