Hi Paul_123
I stole a bit of your build script which reads
# Export variables needed for compilation
case $(uname -m) in
arm*)
export CFLAGS="-flto=auto -Os -pipe -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp"
export CXXFLAGS="-flto=auto -Os -pipe -fno-exceptions -fno-rtti -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp"
;;
aarch64)
export CFLAGS="-flto=auto -Os -pipe -march=armv8-a+crc -mtune=cortex-a72"
export CXXFLAGS="-flto=auto -Os -pipe -fno-exceptions -fno-rtti -march=armv8-a+crc -mtune=cortex-a72"
;;
esac
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig
I am attempting to copy and paste initially from my TC64 via openssh. I am connected but inputting above...too much stuff to post but the end bits suggest it is not working as
SNIP
locale zstdmt
locate zsync
logger
root@box:/tmp# export CXXFLAGS="-flto=auto -Os -pipe -fno-exceptions -fno-rtti -march=armv8-a+crc -mtune=cortex-a72"
root@box:/tmp# ;;
sh: syntax error: unexpected ";;"
root@box:/tmp# esac
sh: syntax error: unexpected "esac"
root@box:/tmp# export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig
root@box:/tmp# uname -m
armv7l
root@box:/tmp# echo $CFLAGS
-flto=auto -Os -pipe -march=armv8-a+crc -mtune=cortex-a72
this is my first attempt to use an arch test set flag
After sshing in....I become root via sudo su
I can do it manually but any clues?
Is not possible to do it by openssh?
###############
something is wrong with first bit...it fails and then flags are being set by the arm8 commands