2013年6月6日 星期四

Build BeagleBoardPkg using gcc-arm-linux-gnueabi

Install ARM EABI GCC

sudo apt-get install gcc-arm-linux-gnueabi

Modification in BeagleBoardPkg/build.sh

#
# Pick a default tool type for a given OS if no toolchain already defined
#
...
#TARGET_TOOLS=ARMGCC
TARGET_TOOLS=ARMLINUXGCC
...

undefined reference to `__stack_chk_fail'
undefined reference to `__stack_chk_guard'

Append -fno-stack-protector to DEBUG_ARMLINUXGCC_ARM_CC_FLAGS
Append -fno-stack-protector to RELEASE_ARMLINUXGCC_ARM_CC_FLAGS

沒有留言:

張貼留言