Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changes between Version 38 and Version 39 of UsersGuide/CompilingFromSource


Ignore:
Timestamp:
2021-04-20T18:53:37Z (6 months ago)
Author:
Martin Decky
Comment:

update toolchain.sh documentation

Legend:

Unmodified
Added
Removed
Modified
  • UsersGuide/CompilingFromSource

    v38 v39  
    2323== 2. Build a supported cross-compiler ==
    2424
    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.
     25Use 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.
    2626
    2727{{{
     
    4242{{{
    4343# yum group install 'Development Tools'
    44 # yum install wget texinfo libmpc-devel mpfr-devel gmp-devel PyYAML genisoimage
     44# yum install wget texinfo PyYAML genisoimage flex bison
    4545}}}
    4646