arm native compiler
Author: Silas Mariusz Grzybacz
Description: Initial draft
This document provides detailed description to create the native compile environment and build your application for QNAP NAS.
2. Install the arm native environment
Please follow the steps to install/uninstall native environment on your ARM-based QNAP NAS machine
To Install:As root, decompress the toolchain to the “/share/HDA_DATA” or “/share/MD0_DATA” folder.
* Single disk configuration users please use HDA_DATA
* RAID disk configuration users please use MD0_DATA
tar zxvf qnap_arm_native_compiler-0.16-8.tar.gz -C /share/XXX_DATA
To Uninstall:As root, stop native.sh and reboot NAS to make sure that there are no mount points to native environment.
/share/XXX_DATA/native/native.sh stop reboot
mount | grep native || rm -rf /share/XXX_DATA/native
3. Start native environment
Please follow the steps to start native environment
/share/XXX_DATA/native/native.sh chroot /share/XXX_DATA/native
You're in. Happy compiling!