better use gcc to link instead of g++
on ubuntu, use g++ will add a additional linkflag "-lstdc++" and this will result link failed.
@@ -27,7 +27,7 @@ if PLATFORM == 'gcc':
CXX = PREFIX + 'g++'
AS = PREFIX + 'gcc'
AR = PREFIX + 'ar'
- LINK = PREFIX + 'g++'
+ LINK = PREFIX + 'gcc'
TARGET_EXT = 'elf'
SIZE = PREFIX + 'size'
OBJDUMP = PREFIX + 'objdump'
