#include <stdio.h> int main(void) { float pi = 3.14; printf("Hello World\n"); printf("%.2f\n",2*pi); }
CC=arm-linux-gnueabihf-gcc hello-world:hello-world.o clean: rm -rf hello-world.o hello-world
树莓派学习笔记——交叉编译工具链,布布扣,bubuko.com
原文地址:http://blog.csdn.net/xukai871105/article/details/24932611