Proper way to build nanobsd with "external" toolchain on new CURRENT?
Lev Serebryakov
lev at FreeBSD.org
Wed Dec 31 21:58:36 UTC 2014
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
I'm using these settings to build minimal NanoBSD as fast as possible
for long time:
XCC=/usr/bin/cc
XCXX=/usr/bin/c++
XCPP=/usr/bin/cpp
XAS=/usr/bin/as
XAR=/usr/bin/ar
XLD=/usr/bin/ld
XNM=/usr/bin/nm
XOBJDUMP=/usr/bin/objdump
XRANLIB=/usr/bin/ranlib
XSTRINGS=/usr/bin/strings
XSTRIPBIN=/usr/bin/strip
COMPILER_TYPE=clang
WITHOUT_CROSS_COMPILER=yes
WITHOUT_CLANG=yes
WITHOUT_BINUTILS=yes
WITHOUT_GCC=yes
Where XSTRIPBIN is my addition (or installworld will fail due to absent
"strip" for "install -s").
This setup is used to build amd64 NanoBSD on amd64 "host" system when
version of "host" is not very old. It allows to avoid building of
compilers completely, which speeds up built significantly (x3! on my
system, really).
But latest CURRENT has many improvements for external toolchain support.
Maybe, here are more "official" way to achieve same result?
- --
// Lev Serebryakov AKA Black Lion
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)
iQJ8BAEBCgBmBQJUpHF7XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRGOTZEMUNBMEI1RjQzMThCNjc0QjMzMEFF
QUIwM0M1OEJGREM0NzhGAAoJEOqwPFi/3EePsocQAIdg2iIpEE1QkCtfzndl0HF9
fuO5fEdNo/Er6RRqeeS4rdsw19s82TvO4pqV8J4hM06ZE9mKchyiZBE5HywwktJl
957t1Ov9rgFupcBSHKf3KnT54556QaAhhlWRPfu3ktHY3O/X/LgEwXB63EZ4MzwE
fqIXPmukXbek21/FkTiYDNRXND2h2TN9oq4FQpDUZ1aF0kH4L1YZE3Hgc5Nnsjpr
etf+otiV/IPP/8Oi0vBJapsnrlQAP9hDWKorqd7ABuVzBMBv+wA+UAPROEUB4fqy
/bTL1W6LITNBESTAyjnr+EoKmUB/TQlizFsLpR8OIpLqt1XaovKUyKxAjMaq04ho
cZjLhTOxCirhGe0CwfPEkAls9CLL8OHWijiEVvP9rr91R/8zyfYeD0qFTUZzJ674
BYSF9CxcESLDR/qTpy/qZWSAyDEv9FT8hNwvZvyqGu5jXTZJW8PYKPyfiVHTOTB1
sNUda/LXEHVpDL+S6bECSXvtsrQGsjjwBwaJuA0s/e/TCk2ZYuQ6A42HvaOR2QIU
V9keME7bCi7xuntedCDTw4Ros843Cl7ikRk74mpOV1OxzwV1MX3r0I6SDxV11tsz
rngBCemEjQ4LCvonZBdborMJrvyygJzsFg7AHNw22tCC0w/n6dHz4poAC5tAsMWy
Y1bDv8ZLmcIssxE2oQjB
=8XAn
-----END PGP SIGNATURE-----
More information about the freebsd-current
mailing list