- 编译
arm-linux-gnueabi-gcc -Wall -I/your/include/path -c helloworld.c -fopenmp
- 链接
arm-linux-gnueabi-gcc helloworld.o -L/your/lib/path -la -lb -static -o helloworld -fopenmp
注:编译和链接都要加-fopenmp选项
arm-linux-gnueabi-gcc -Wall -I/your/include/path -c helloworld.c -fopenmp
arm-linux-gnueabi-gcc helloworld.o -L/your/lib/path -la -lb -static -o helloworld -fopenmp
注:编译和链接都要加-fopenmp选项