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: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
## Build Scripts and Toolchain Helpers
2
2
3
-
* activate-openwrt-toolchain.env - place file in prebuilt OpenWRT toolchain root, source it for productivity, etc.
4
-
* activate-musl-toolchain.env - place file in musl-cross-make toolchain root, source it for productivity, etc.
5
-
* gdbserver-7.12-static-build.sh - shell script to build a static gdb-7.12 gdbserver using a cross-compile toolchain
3
+
*```activate-openwrt-toolchain.env``` - place file in prebuilt OpenWRT toolchain root, source it for productivity, etc.
4
+
*```activate-musl-toolchain.env``` - place file in musl-cross-make toolchain root, source it for productivity, etc.
5
+
*```gdbserver-7.12-static-build.sh``` - shell script to build a static gdb-7.12 gdbserver using a cross-compile toolchain
6
6
7
7
### First - if you just want to grab a statically linked gdbserver for a specific MIPS(EL) or ARM platform ...
8
8
@@ -36,7 +36,7 @@ $ make -j gdbserver GDBSERVER_LIBS="/path/to/libstdc++.a /path/to/libgcc_eh.a"
36
36
37
37
You will have a statically compiled GDB 7.12 gdbserver for your native OS. Read on for the cross-compile stuff, which is a little more involved but still pretty simple
38
38
39
-
### Use an env script with a pre-built OpenWrt Toolchain
39
+
### Use ```activate-openwrt-toolchain.env``` with a pre-built OpenWrt Toolchain
40
40
41
41
Browse to https://downloads.openwrt.org/snapshots/trunk/ to find your toolchain
### Use an env script with an installed toolchain built by musl-cross-make
60
+
### Use ```activate-musl-toolchain.env``` with an installed toolchain built by musl-cross-make
61
61
62
62
Using musl-cross-make is a nice experience- I recommend you try it. If you do, all you need to do is edit config.mak, use make -j and make install. That's it. You're done. The activate-musl-toolchain file is for you to place in the root of the installed toolchain to use as a convenience to "activate" the toolchain in your environment.
0 commit comments