Changeset bbe5e34 in mainline for uspace/lib/posix/Makefile


Ignore:
Timestamp:
2018-08-31T14:32:39Z (6 years ago)
Author:
GitHub <noreply@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
58e7b26
Parents:
fa86fff
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-08-31 14:32:39)
git-committer:
GitHub <noreply@…> (2018-08-31 14:32:39)
Message:

Switch completely to HelenOS-specific toolchain target (#44)

As previously discussed, utilizing the compiler-provided headers and libraries would
allow us to avoid a number of problems and reduce the amount of architecture-support
code that we have to implement ourselves. With this change, the support for using
Linux-targeted toolchain, or even the host toolchain itself, is removed, due to the
inherent issues caused by such setup.

Additionally, the toolchain installation is a bit simplified to install all targets into a single
prefix. This prefix can be added to the PATH so that one can simply execute
e.g. amd64-helenos-gcc instead of needing to use the whole path.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/Makefile

    rfa86fff rbbe5e34  
    120120        echo '# Generated file, do not modify.' >> $@.new
    121121        echo '# Do not forget to set HELENOS_EXPORT_ROOT.' >> $@.new
    122         echo 'HELENOS_CROSS_PATH="$(shell dirname "$(CC)")"' >> $@.new
     122        echo 'HELENOS_CROSS_PATH="$(shell dirname `which "$(CC)"`)"' >> $@.new
    123123        echo 'HELENOS_ARCH="$(firstword $(subst -, ,$(TARGET)))"' >> $@.new
    124124        echo 'HELENOS_TARGET="$(TARGET)"' >> $@.new
Note: See TracChangeset for help on using the changeset viewer.