This post is about how to use Ubuntu to cross-compile C/C++ programs that run on LinkIt Smart 7688 Duo running OpenWRT Chaos Calmer 15.05.1 r49203 .
It's assumed that the SDK has been downloaded and installed on the Ubuntu machine. If it hasn't been installed, please refer to http://wei48221.blogspot.tw/2017/05/linkit-smart-7688-7688-duo-using.html for instructions on how to download and install it.
Note, the method described below builds an executable file that can be executed directly by using the "./filename" command.
This blog is for keeping my study notes, sharing knowledge and showing the products of my study.. I welcome your feedback...
Showing posts with label Cross Compilation. Show all posts
Showing posts with label Cross Compilation. Show all posts
2017/05/02
How to use Ubuntu to build C/C++ programs that run on LinkIt Smart 7688 Duo - Method 1
This post is based on https://docs.labs.mediatek.com/resource/linkit-smart-7688/en/tutorials/c-c++-programming/using-openwrt-sdk-to-build-c-c++-programs with additional info. added from following it.
Note, The method described below uses makefile to build an *.ipk file that could be installed by using the "opkg install filename" command.
Environment:
Working Computer: Windows 8.1.
Cross Compiling Platform: Ubuntu Linux 16.04.2 on ThinkPad-Edge-E420s.
Target:
LinkIt Smart 7688 Duo, OpenWRT Chaos Calmer 15.05.1 r49203
Note, The method described below uses makefile to build an *.ipk file that could be installed by using the "opkg install filename" command.
Environment:
Working Computer: Windows 8.1.
Cross Compiling Platform: Ubuntu Linux 16.04.2 on ThinkPad-Edge-E420s.
Target:
LinkIt Smart 7688 Duo, OpenWRT Chaos Calmer 15.05.1 r49203
Subscribe to:
Posts (Atom)