3 # toolchain-cmd define.
6 inc toolchain/${TOOLCHAIN}.imi
8 MACHTYPE="$(get_machtype ${MACHINE} ${OS} ${INFO})"
13 # DIR_PFX, and toolchain-info.
14 # ignored if file not exist.
16 inc toolchain/${MACHTYPE}.imi
17 inc ~/.cmplr/toolchain/${TOOLCHAIN}/${MACHTYPE}-${VER}*.imi
19 [[ -n "$DIR_PFX" && "${DIR_PFX: -1:1}" != '/' ]] && DIR_PFX+="/"
21 CMPLCROSS="${DIR_PFX}${MACHTYPE:+${MACHTYPE}-}"