From 4d49d9c04c490a85962d4d530c59793609940a76 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 28 Aug 2020 15:38:23 +0200 Subject: Remove arch=msp430fr5994lp-256k, use arch=msp430fr5994lp large_mode=1 instead --- script/g++wrap | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 script/g++wrap (limited to 'script') diff --git a/script/g++wrap b/script/g++wrap new file mode 100755 index 0000000..fd0e5d9 --- /dev/null +++ b/script/g++wrap @@ -0,0 +1,9 @@ +#!/bin/zsh + +for i in {1..$#}; do + if [[ $argv[$i] == *_agxx_* && -f $argv[$i] ]]; then + sed -i 's/inline void \* operator new (unsigned int,/inline void * operator new(__int20 unsigned,/' $argv[$i] + fi +done + +exec /opt/msp430/ti/msp430-gcc-full-linux-5.1.2.0/bin/msp430-elf-g++ "$@" -- cgit v1.2.3