Change default ARM compiler name
In most distros (Ubuntu, Debian, Arch Linux) the only available Linux ARM toolchain uses arm-linux-gnueabihf- prefix. That's also the correct compiler for cross-compiling code for Raspberry Pi, which is what most people will probably want.
This commit is contained in:
parent
81195fc362
commit
1a0f8fd4e6
1 changed files with 8 additions and 3 deletions
|
|
@ -16,13 +16,18 @@ cc = gcc
|
||||||
hint[LineTooLong]=off
|
hint[LineTooLong]=off
|
||||||
#hint[XDeclaredButNotUsed]=off
|
#hint[XDeclaredButNotUsed]=off
|
||||||
|
|
||||||
# example of how to setup a cross-compiler:
|
# Examples of how to setup a cross-compiler:
|
||||||
arm.linux.gcc.exe = "arm-linux-gcc"
|
|
||||||
arm.linux.gcc.linkerexe = "arm-linux-gcc"
|
|
||||||
|
|
||||||
|
# Cross-compiling for Raspberry Pi.
|
||||||
|
# (This compiler is available in gcc-arm-linux-gnueabihf package on Ubuntu)
|
||||||
|
arm.linux.gcc.exe = "arm-linux-gnueabihf-gcc"
|
||||||
|
arm.linux.gcc.linkerexe = "arm-linux-gnueabihf-gcc"
|
||||||
|
|
||||||
|
# For OpenWRT, you will also need to adjust PATH to point to your toolchain.
|
||||||
mips.linux.gcc.exe = "mips-openwrt-linux-gcc"
|
mips.linux.gcc.exe = "mips-openwrt-linux-gcc"
|
||||||
mips.linux.gcc.linkerexe = "mips-openwrt-linux-gcc"
|
mips.linux.gcc.linkerexe = "mips-openwrt-linux-gcc"
|
||||||
|
|
||||||
|
|
||||||
path="$lib/deprecated/core"
|
path="$lib/deprecated/core"
|
||||||
path="$lib/deprecated/pure"
|
path="$lib/deprecated/pure"
|
||||||
path="$lib/pure/collections"
|
path="$lib/pure/collections"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue