changeset 108:8162269b5682

tweak path
author anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Thu, 21 Nov 2019 17:25:11 +0900
parents 5f01480e8f12
children 4f9d95dc4efd
files src/gearsTools/pmake.pl
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/gearsTools/pmake.pl	Thu Nov 21 17:10:11 2019 +0900
+++ b/src/gearsTools/pmake.pl	Thu Nov 21 17:25:11 2019 +0900
@@ -29,7 +29,7 @@
 
 my $objcopy;
 if ($^O =~ /darwin/){
-    $objcopy = "llvm-objcopy";
+    $objcopy = "/usr/local/opt/llvm/bin/llvm-objcopy";
     my $arm_library = $ENV{ARM_LIBRARY};
     $cc      = $ENV{CBC_COMPILER};
     $asm     = $ENV{CBC_COMPILER};
@@ -39,7 +39,7 @@
     $cflags .= ' -B' . $ENV{HOME} .'/workspace/cr/arm_library/usr/lib/gcc/arm-linux-gnueabihf/6.3.0';
     $cflags .= ' --gcc-toolchain=arm-linux-gnueabihf-raspbian';
     # $ld = '/usr/local/linaro/arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-ld';
-    $ld = "ld.lld";
+    $ld = "/usr/local/opt/llvm/bin/ld.lld";
 
     # $libgcc = '/usr/local/lib/gcc/arm-none-eabi/7.3.1/libgcc.a';
     $libgcc = "$arm_library/usr/lib/gcc/arm-linux-gnueabihf/6.3.0/libgcc.a";