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
|**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 |
128
128
|**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 |
129
129
|**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
149
149
**[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:
150
150
151
151
| Toolchains Binaries | Status | GCC versions |
152
-
| ---------- | -------- | ------ |
152
+
| ---------- | -------- |:------:|
153
153
|**Raspberry Pi GCC Cross-Compiler Toolchains(Stretch)**| Stable/Production |[6.3.0][cc-stretch-630], [9.2.0][cc-stretch-920]|
154
154
|**Raspberry Pi GCC Cross-Compiler Toolchains(Buster)**| Stable/Production |[8.3.0][cc-buster-830], [9.2.0][cc-buster-920]|
155
155
|**Raspberry Pi GCC Native-Compiler Toolchains(Stretch)**| Stable/Production |[9.2.0][nc-stretch-920]|
### `RTBuilder_32b`: Raspberry Pi Toolchains Builder 32-bit
106
+
### `RTBuilder_32b`: Raspberry Pi Toolchains Builder 32-bit
104
107
105
108
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:
107
110
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
+
```
117
117
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:
119
119
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.***
121
121
122
122
```shellsession
123
123
chmod +x RTBuilder_32b
124
124
./RTBuilder_32b -g "9.2.0" -r "2-3" -o "buster"
125
125
126
126
```
127
127
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.*
129
129
130
130
131
131
132
-
### `RTBuilder_64b`: Raspberry Pi Toolchains Builder 64-bit
132
+
### `RTBuilder_64b`: Raspberry Pi Toolchains Builder 64-bit
133
133
134
134
135
-
* **Usage parameters:** This script requires few command-line parameters, just run `./RTBuilder_64b`:
-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]
141
141
142
-
```
142
+
```
143
143
144
144
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:
146
146
147
147
```shellsession
148
148
chmod +x RTBuilder_64b
149
149
./RTBuilder_64b -g "9.2.0"
150
150
151
151
```
152
152
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.*
154
154
155
155
156
156
@@ -161,37 +161,37 @@ These scripts provide a few additional environment variables to tweak Toolchain
161
161
162
162
* `BUILDDIR`: To change build directory. By default it is set to temp(`/tmp`) directory. Its usage is as follows:
163
163
164
-
***:warning: Make sure assigned directory has read/write permission.***
164
+
***:warning: Make sure assigned directory has read/write permission.***
165
165
166
-
```shellsession
167
-
BUILDDIR="/home/foo/foo1"
168
-
```
166
+
```shellsession
167
+
BUILDDIR="/home/foo/foo1"
168
+
```
169
169
* `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.***
172
172
173
-
```shellsession
174
-
LANGUAGES="c,go,brig,d"
175
-
```
173
+
```shellsession
174
+
LANGUAGES="c,go,brig,d"
175
+
```
176
176
177
177
178
178
179
179
## Supported GCC Versions:
180
180
181
181
These scripts only support newer GCC versions, those are as follows:
182
182
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.***
0 commit comments