# HG changeset patch # User anatofuz # Date 1574324711 -32400 # Node ID 8162269b56828ce315d5926be5f8a21f3610bdb0 # Parent 5f01480e8f12a3e3748f057f5ce0896d8de42557 tweak path diff -r 5f01480e8f12 -r 8162269b5682 src/gearsTools/pmake.pl --- 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";