diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-09-18 22:30:53 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-09-18 22:31:14 +0200 |
| commit | 8bc74cde8f6bfb4b264bb3399681e7e04ec1e703 (patch) | |
| tree | 3ce96d4760a5500b52755c8bfa062e233ec76c38 /README.md | |
| parent | 9f3fde47cd1a5a8881f7cbcf15218f2c3c875341 (diff) | |
| download | nissy-core-8bc74cde8f6bfb4b264bb3399681e7e04ec1e703.tar.gz nissy-core-8bc74cde8f6bfb4b264bb3399681e7e04ec1e703.zip | |
Update to configuration script; C99 -> C11
Diffstat (limited to '')
| -rw-r--r-- | README.md | 8 |
1 files changed, 4 insertions, 4 deletions
| @@ -14,9 +14,8 @@ In the future this project may evolve as a new "back-end" for the classic | |||
| 14 | 14 | ||
| 15 | ## Building | 15 | ## Building |
| 16 | 16 | ||
| 17 | First run the configuration script to detect the system | 17 | First run the configuration script to detect the system configuration. |
| 18 | configuration. This is going to select a C compiler and | 18 | This is going to select a C compiler and architecture-specific optimizations. |
| 19 | architecture-specific optimizations. | ||
| 20 | 19 | ||
| 21 | ``` | 20 | ``` |
| 22 | $ ./configure.sh | 21 | $ ./configure.sh |
| @@ -25,10 +24,11 @@ $ ./configure.sh | |||
| 25 | These settings can be overridden, for example: | 24 | These settings can be overridden, for example: |
| 26 | 25 | ||
| 27 | ``` | 26 | ``` |
| 28 | $ CC=clang ./configure.sh # Force use of clang instead of default cc | ||
| 29 | $ THREADS=3 CC=gcc ./configure.sh # Use 3 threads and compile with gcc | 27 | $ THREADS=3 CC=gcc ./configure.sh # Use 3 threads and compile with gcc |
| 30 | ``` | 28 | ``` |
| 31 | 29 | ||
| 30 | All the configuration-time options are described in the `configure.sh` script. | ||
| 31 | |||
| 32 | Once the configuration is done, you can build with make | 32 | Once the configuration is done, you can build with make |
| 33 | 33 | ||
| 34 | ``` | 34 | ``` |
