Fix list rendering in some posts.
This commit is contained in:
@@ -33,6 +33,7 @@ git checkout 0.27.2
|
||||
```
|
||||
|
||||
Now, I had the compiler and the source. I was ready to compile the source to get myself a nice ARM Crystal compiler. But how? The official guide specified two options for cross compilation:
|
||||
|
||||
* `--cross-compile` - This option is basically a flag. You just add it to the command to enable cross compilation.
|
||||
* `--target=<llvm target triple>` - This specifies the target architecture you're building for.
|
||||
|
||||
@@ -43,9 +44,10 @@ gcc -dumpmachine
|
||||
This produced the output `armv7l-unknown-linux-gnueabihf`. This was exactly what I needed to know!
|
||||
|
||||
Finally, looking through the Makefile in the repository, I found three more flags that are used by default in the process:
|
||||
|
||||
* `-D without_openssl`
|
||||
* `-D without_zlib`
|
||||
* `--release` - for faster compiler
|
||||
* `--release` - for a faster compiler
|
||||
|
||||
To compile the compiler, I had to compile the `src/compiler/crystal.cr` file. With all these options, the command came out to be:
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user