Skip to content

Commit 7d4ab54

Browse files
committed
Docs Updates
1 parent 5cd2a2c commit 7d4ab54

File tree

2 files changed

+73
-73
lines changed

2 files changed

+73
-73
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ This project now utilizes powerful [**Github Actions**][git-action] CI(Continuou
123123
<br>
124124

125125
| Toolchains | Host OS | Target OS | Current Status | Precompiled GCC versions available |
126-
| ---------- | -------- | ------- | -------- | --------------------------------- |
126+
| :----------: | :--------: | :-------: | -------- | :---------------------------------: |
127127
| **Raspberry Pi GCC Cross-Compiler Toolchains(Stretch)** | any x64/x86 Linux machine | Raspbian Stretch OS (Debian Version 9) only | Stable/Production | 6.3.0, 9.2.0 |
128128
| **Raspberry Pi GCC Cross-Compiler Toolchains(Buster)** | any x64/x86 Linux machine | Raspbian Buster OS (Debian Version 10) only | Stable/Production | 8.3.0, 9.2.0 |
129129
| **Raspberry Pi GCC Native-Compiler Toolchains(Stretch)** | Raspbian Stretch OS (Debian Version 9) only | Raspbian Stretch OS (Debian Version 9) only | Stable/Production | 9.2.0 |
@@ -149,7 +149,7 @@ You can easily identify each pre-compiled toolchain binary by its name as follow
149149
**[TAR][tar]-[PIGZ][pigz] Compressed** pre-compiled GCC Toolchain binaries can be easily be downloaded from the project's [**SourceForge Repository**](https://sourceforge.net/projects/raspberry-pi-cross-compilers/files/) or by clicking links given in the following table:
150150

151151
| Toolchains Binaries | Status | GCC versions |
152-
| ---------- | -------- | ------ |
152+
| ---------- | -------- | :------: |
153153
| **Raspberry Pi GCC Cross-Compiler Toolchains(Stretch)** | Stable/Production | [6.3.0][cc-stretch-630], [9.2.0][cc-stretch-920] |
154154
| **Raspberry Pi GCC Cross-Compiler Toolchains(Buster)** | Stable/Production | [8.3.0][cc-buster-830], [9.2.0][cc-buster-920] |
155155
| **Raspberry Pi GCC Native-Compiler Toolchains(Stretch)** | Stable/Production | [9.2.0][nc-stretch-920] |

build-scripts/README.md

Lines changed: 71 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -60,97 +60,97 @@ You can run these bash scripts to manually compile any GCC toolchains version th
6060
1. **Update environment & Install prerequisites:**
6161

6262
```shellsession
63-
# update your system
64-
sudo apt update && sudo apt dist-upgrade
63+
# update your system
64+
sudo apt update && sudo apt dist-upgrade
6565

66-
# install prerequisites
67-
sudo apt-get -y install gcc g++ gperf flex texinfo gawk gfortran texinfo bison \
68-
build-essential openssl unzip wget git pigz \
69-
libncurses-dev autoconf automake tar figlet
70-
```
66+
# install prerequisites
67+
sudo apt-get -y install gcc g++ gperf flex texinfo gawk gfortran texinfo bison \
68+
build-essential openssl unzip wget git pigz \
69+
libncurses-dev autoconf automake tar figlet
70+
```
7171

72-
**Optional:** Install `ccache` for speeding up build time:
73-
74-
```shellsession
75-
# Install package
76-
sudo apt install -y ccache
72+
**Optional:** Install `ccache` for speeding up build time:
73+
74+
```shellsession
75+
# Install package
76+
sudo apt install -y ccache
7777

78-
# Update symlinks
79-
sudo /usr/sbin/update-ccache-symlinks
78+
# Update symlinks
79+
sudo /usr/sbin/update-ccache-symlinks
8080

81-
# Perpend ccache into the PATH
82-
echo 'export PATH="/usr/lib/ccache:$PATH"' | tee -a ~/.bashrc
81+
# Perpend ccache into the PATH
82+
echo 'export PATH="/usr/lib/ccache:$PATH"' | tee -a ~/.bashrc
8383

84-
# Added related env variables
85-
export CCACHE_COMPRESS=1
86-
export CCACHE_DIR=$HOME/.ccache
84+
# Added related env variables
85+
export CCACHE_COMPRESS=1
86+
export CCACHE_DIR=$HOME/.ccache
8787

88-
# Source .bashrc to test the new PATH
89-
source ~/.bashrc && echo $PATH
88+
# Source .bashrc to test the new PATH
89+
source ~/.bashrc && echo $PATH
9090

91-
```
91+
```
9292

9393
2. **Clone this repository:**
9494

95-
```shellsession
96-
git clone https://github.com/abhiTronix/raspberry-pi-cross-compilers.git
97-
cd raspberry-pi-cross-compilers/build-scripts
95+
```shellsession
96+
# clone repository
97+
git clone https://github.com/abhiTronix/raspberry-pi-cross-compilers.git
98+
99+
# call directory
100+
cd raspberry-pi-cross-compilers/build-scripts
98101

99-
```
102+
```
100103

101104
3. **Run scripts:**
102105

103-
### `RTBuilder_32b`: Raspberry Pi Toolchains Builder 32-bit
106+
### `RTBuilder_32b`: Raspberry Pi Toolchains Builder 32-bit
104107

105108

106-
* **Usage parameters:** This script requires a few command-line parameters, just run `./RTBuilder_32b` on terminal:
109+
* **Usage parameters:** This script requires a few command-line parameters, just run `./RTBuilder_32b` on terminal:
107110
108-
```shellsession
109-
Usage: ./RTBuilder_32b -g [GCC version] -r [Target Pi type] -o [Target Pi OS type]
110-
-g GCC version you want to compile?: (7.1.0|7.2.0|7.3.0|7.4.0|7.5.0|8.1.0|8.2.0|8.3.0|9.1.0|9.2.0)
111-
-r What's yours Raspberry Pi type?: (0-1|2-3|3+)
112-
-o What's yours Raspberry Pi OS type?: (stretch|buster)
113-
114-
```
115-
116-
111+
```shellsession
112+
Usage: ./RTBuilder_32b -g [GCC version] -r [Target Pi type] -o [Target Pi OS type]
113+
-g GCC version you want to compile?: (7.1.0|7.2.0|7.3.0|7.4.0|7.5.0|8.1.0|8.2.0|8.3.0|9.1.0|9.2.0)
114+
-r What's yours Raspberry Pi type?: (0-1|2-3|3+)
115+
-o What's yours Raspberry Pi OS type?: (stretch|buster)
116+
```
117117

118-
* **Usage:** Just pass _targeted [GCC version](#supported-gcc-versions)_ to `-g` parameter, _targeted raspberry pi type_ to `-r` parameter, and _targeted raspberry pi OS type_ to `-o` parameter of this script:
118+
* **Usage:** Just pass _targeted [GCC version](#supported-gcc-versions)_ to `-g` parameter, _targeted raspberry pi type_ to `-r` parameter, and _targeted raspberry pi OS type_ to `-o` parameter of this script:
119119

120-
***:warning: You must NOT compile GCC version less than GCC 8.3.0 for Buster OS, otherwise script will automatically switch to build for Stretch OS.***
120+
***:warning: You must NOT compile GCC version [less than GCC 8.3.0 for Buster OS](#supported-gcc-versions), otherwise script will automatically switch to build for Stretch OS.***
121121

122122
```shellsession
123123
chmod +x RTBuilder_32b
124124
./RTBuilder_32b -g "9.2.0" -r "2-3" -o "buster"
125125

126126
```
127127

128-
*This will take some time _(approximately 55mins on 8cores)_, so grab a coffee :coffee:. On returning you will find `native-gcc-{GCC_VERSION}-pi_{PI_TYPE}.tar.gz` and `cross-gcc-{GCC_VERSION}-pi_{PI_TYPE}.tar.gz` at your `$HOME` directory.*
128+
*This will take some time _(approximately 55mins on 8cores)_, so grab a coffee :coffee:. On returning you will find `native-gcc-{GCC_VERSION}-pi_{PI_TYPE}.tar.gz` and `cross-gcc-{GCC_VERSION}-pi_{PI_TYPE}.tar.gz` at your `$HOME` directory.*
129129

130130

131131

132-
### `RTBuilder_64b`: Raspberry Pi Toolchains Builder 64-bit
132+
### `RTBuilder_64b`: Raspberry Pi Toolchains Builder 64-bit
133133

134134

135-
* **Usage parameters:** This script requires few command-line parameters, just run `./RTBuilder_64b`:
136-
137-
```shellsession
138-
Usage: ./RTBuilder_64b -g [GCC version] -t [OS Type]
139-
-g GCC version you want to compile?: (7.1.0|7.2.0|7.3.0|7.4.0|7.5.0|8.1.0|8.2.0|8.3.0|9.1.0|9.2.0)
140-
-t What's yours Raspberry Pi OS type?: (1|2) [default:1]
135+
* **Usage parameters:** This script requires few command-line parameters, just run `./RTBuilder_64b`:
136+
137+
```shellsession
138+
Usage: ./RTBuilder_64b -g [GCC version] -t [OS Type]
139+
-g GCC version you want to compile?: (7.1.0|7.2.0|7.3.0|7.4.0|7.5.0|8.1.0|8.2.0|8.3.0|9.1.0|9.2.0)
140+
-t What's yours Raspberry Pi OS type?: (1|2) [default:1]
141141

142-
```
142+
```
143143

144144

145-
* **Usage:** Just pass _targeted [GCC version](#supported-gcc-versions)_ to `-g` parameter of this script:
145+
* **Usage:** Just pass _targeted [GCC version](#supported-gcc-versions)_ to `-g` parameter of this script:
146146

147147
```shellsession
148148
chmod +x RTBuilder_64b
149149
./RTBuilder_64b -g "9.2.0"
150150

151151
```
152152

153-
*This will take some time _(approximately 55mins on 8cores)_, so grab a coffee :coffee:. On returning you will find `native-gcc-{GCC_VERSION}-pi_64.tar.gz` and `cross-gcc-{GCC_VERSION}-pi_64.tar.gz` at your `$HOME` directory.*
153+
*This will take some time _(approximately 55mins on 8cores)_, so grab a coffee :coffee:. On returning you will find `native-gcc-{GCC_VERSION}-pi_64.tar.gz` and `cross-gcc-{GCC_VERSION}-pi_64.tar.gz` at your `$HOME` directory.*
154154

155155
&nbsp;
156156

@@ -161,37 +161,37 @@ These scripts provide a few additional environment variables to tweak Toolchain
161161

162162
* `BUILDDIR`: To change build directory. By default it is set to temp(`/tmp`) directory. Its usage is as follows:
163163

164-
***:warning: Make sure assigned directory has read/write permission.***
164+
***:warning: Make sure assigned directory has read/write permission.***
165165

166-
```shellsession
167-
BUILDDIR="/home/foo/foo1"
168-
```
166+
```shellsession
167+
BUILDDIR="/home/foo/foo1"
168+
```
169169
* `LANGUAGES`: To change supported programming languages for your Toolchains. Its default value is `c,c++,fortran`. Its usage is as follows:
170-
171-
***:warning: Make sure to install additional dependency manually according to your assigned supported languages.***
170+
171+
***:warning: Make sure to install additional dependency manually according to your assigned supported languages.***
172172

173-
```shellsession
174-
LANGUAGES="c,go,brig,d"
175-
```
173+
```shellsession
174+
LANGUAGES="c,go,brig,d"
175+
```
176176

177177
&nbsp;
178178

179179
## Supported GCC Versions:
180180

181181
These scripts only support newer GCC versions, those are as follows:
182182

183-
***:warning: You must NOT compile GCC version less than GCC 8.3.0 for Buster OS, otherwise script will automatically switch to build for Stretch OS.***
184-
185-
- 7.1.0
186-
- 7.2.0
187-
- 7.3.0
188-
- 7.4.0
189-
- 7.5.0
190-
- 8.1.0
191-
- 8.2.0
192-
- 8.3.0
193-
- 9.1.0
194-
- 9.2.0
183+
| GCC Version | Stretch OS | Buster OS |
184+
| :-----------: | :----------: | :---------: |
185+
| 7.1.0 | supported | x |
186+
| 7.2.0 | supported | x |
187+
| 7.3.0 | supported | x |
188+
| 7.4.0 | supported | x |
189+
| 7.5.0 | supported | x |
190+
| 8.1.0 | supported | x |
191+
| 8.2.0 | supported | x |
192+
| 8.3.0 | supported | supported |
193+
| 9.1.0 | supported | supported |
194+
| 9.2.0 | supported | supported |
195195

196196

197197
&nbsp;

0 commit comments

Comments
 (0)