Changes between Version 38 and Version 39 of UsersGuide/CompilingFromSource
- Timestamp:
- 2021-04-20T18:53:37Z (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UsersGuide/CompilingFromSource
v38 v39 23 23 == 2. Build a supported cross-compiler == 24 24 25 Use our script to install a supported cross-compiler toolchain. The script either needs to be run as the `root` user (because it will install the cross-compiler to the `/usr/local/cross` directory) or you need to set the `CROSS_PREFIX` environment variable to use custom toolchain installation directory.25 Use our script to install a supported cross-compiler toolchain. By default, the script installs the cross-compiler to the `$XDG_DATA_HOME/HelenOS/cross` (i.e. `$HOME/.local/share/HelenOS/cross`) directory and therefore can be run as the normal user. To install the cross-compiler to the `/opt/HelenOS/cross` system-wide directory, run the script with the `--system-wide` option (this requires running the script as the `root` user). Alternatively, you cat set the `$CROSS_PREFIX` environment variable to use custom toolchain installation directory. 26 26 27 27 {{{ … … 42 42 {{{ 43 43 # yum group install 'Development Tools' 44 # yum install wget texinfo libmpc-devel mpfr-devel gmp-devel PyYAML genisoimage44 # yum install wget texinfo PyYAML genisoimage flex bison 45 45 }}} 46 46