Changeset f3a7b0d in mainline for README.md


Ignore:
Timestamp:
2021-04-20T18:21:55Z (4 years ago)
Author:
Martin Decky <martin@…>
Branches:
master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
de227aba
Parents:
6186f9f
Message:

Use more appropriate cross-compiler installation locations

The toolchain.sh and configure.sh scripts use the
$XDG_DATA_HOME/HelenOS/cross (i.e. $HOME/.local/share/HelenOS/cross)
location by default now. This allows the cross-compiler to be
installed without super user privileges and thus hopefully lowers the
entry barrier for newcomers.

To install the cross-compiler to a system-wide location, run the
toolchain.sh script with the —system-wide option. The default
system-wide location is /opt/HelenOS/cross now.

The configure.sh script falls back to /opt/HelenOS/cross and the
previously used /usr/local/cross. Thus recompiling an already
installed cross-compiler toolchain is not necessary.

The possibility to override the cross-compiler location using
$CROSS_PREFIX or having the cross-compiler available in $PATH
retained.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • README.md

    r6186f9f rf3a7b0d  
    3535
    3636In order to build HelenOS, one must first build the cross-compiler toolchain
    37 (either as a root or by specifying the `CROSS_PREFIX` environment variable)
    38 by running (example for the amd64 architecture, further list of targets can be
    39 found in the `default` directory):
     37(the default installation location can be overridden by specifying the
     38`CROSS_PREFIX` environment variable) by running (example for the amd64
     39architecture, further list of targets can be found in the `default` directory):
    4040
    4141```
     
    6161```
    6262# sudo dnf group install 'Development Tools'
    63 # sudo dnf install wget texinfo libmpc-devel mpfr-devel gmp-devel PyYAML genisoimage flex bison
     63# sudo dnf install wget texinfo PyYAML genisoimage flex bison
    6464```
     65
    6566In case the toolchain script won't work no matter how hard you try, let us know.
    6667Please supply as many relevant information (your OS and distribution, list of
Note: See TracChangeset for help on using the changeset viewer.