Chinaunix首页 | 论坛 | 博客
  • 博客访问: 936954
  • 博文数量: 192
  • 博客积分: 3070
  • 博客等级: 中校
  • 技术积分: 1861
  • 用 户 组: 普通用户
  • 注册时间: 2007-06-27 23:44
个人简介

Start Linux Leave Linux a while Back to Linux

文章分类

全部博文(192)

文章存档

2023年(18)

2022年(11)

2021年(8)

2020年(14)

2019年(7)

2018年(13)

2017年(16)

2016年(4)

2012年(2)

2011年(13)

2010年(26)

2009年(13)

2008年(27)

2007年(20)

我的朋友

分类: 其他平台

2020-11-20 16:41:20

下载 


编译方法:
#./configure --prefix=/home/abc/a --host=arm-linux --without-expat 
#make
#make install

我们程序要用到的是lib中的动态链接库和include中的文件.

在该目录下打开终端,输入如下开始编译

gcc -g -Wall -O0 helloworld.c -o helloworld -L/home/abc/a/lib -llog4c -I/home/abc/a/include
阅读(911) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~