You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: compilation.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,15 +41,16 @@ Work according to the following steps:
41
41
2. run `./autogen.sh` to create the configure script from configure.sh.
42
42
3. create a build dir (e.g build), and then cd into it.
43
43
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/`
47
48
48
49
## 2) Compiling gdb
49
50
50
51
Clone gdb from from my forked respository - https://github.com/guyush1/binutils-gdb/tree/gdb-static.
51
52
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.
0 commit comments