Used external roborio compiler instead of local compiler.
Change-Id: Ifec0d68b0b51a822c906bc4f52320004ee2f5d84
diff --git a/tools/cpp/CROSSTOOL b/tools/cpp/CROSSTOOL
index f874fce..39af245 100644
--- a/tools/cpp/CROSSTOOL
+++ b/tools/cpp/CROSSTOOL
@@ -292,21 +292,21 @@
target_system_name: "roborio"
toolchain_identifier: "roborio_linux"
- tool_path { name: "ar" path: "/usr/bin/arm-frc-linux-gnueabi-ar" }
- tool_path { name: "compat-ld" path: "/usr/bin/arm-frc-linux-gnueabi-ld" }
- tool_path { name: "cpp" path: "/usr/bin/arm-frc-linux-gnueabi-cpp" }
- tool_path { name: "dwp" path: "/usr/bin/dwp" }
- tool_path { name: "gcc" path: "/usr/bin/arm-frc-linux-gnueabi-gcc" }
- tool_path { name: "gcov" path: "/usr/bin/arm-frc-linux-gnueabi-gcov-4.9" }
+ tool_path { name: "ar" path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-ar" }
+ tool_path { name: "compat-ld" path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-ld" }
+ tool_path { name: "cpp" path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-cpp" }
+ tool_path { name: "dwp" path: "/bin/false" }
+ tool_path { name: "gcc" path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-gcc" }
+ tool_path { name: "gcov" path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-gcov-4.9" }
# C(++) compiles invoke the compiler (as that is the one knowing where
# to find libraries), but we provide LD so other rules can invoke the linker.
- tool_path { name: "ld" path: "/usr/bin/arm-frc-linux-gnueabi-ld" }
- tool_path { name: "nm" path: "/usr/bin/arm-frc-linux-gnueabi-nm" }
- tool_path { name: "objcopy" path: "/usr/bin/arm-frc-linux-gnueabi-objcopy" }
+ tool_path { name: "ld" path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-ld" }
+ tool_path { name: "nm" path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-nm" }
+ tool_path { name: "objcopy" path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-objcopy" }
objcopy_embed_flag: "-I"
objcopy_embed_flag: "binary"
- tool_path { name: "objdump" path: "/usr/bin/arm-frc-linux-gnueabi-objdump" }
- tool_path { name: "strip" path: "/usr/bin/arm-frc-linux-gnueabi-strip" }
+ tool_path { name: "objdump" path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-objdump" }
+ tool_path { name: "strip" path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-strip" }
# TODO(bazel-team): In theory, the path here ought to exactly match the path
# used by gcc. That works because bazel currently doesn't track files at