免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2596 | 回复: 6
打印 上一主题 下一主题

esql -s -o aaa a.ec b.c -lx -lcurses -static 什么意思? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-02-21 16:40 |只看该作者 |倒序浏览
用esql/c 编程,看到一条预编译如下:
esql -s -o aaa a.ec b.c -lx -lcurses -static

请问,-s 是什么意思?
   -lx是什么意思?

谁有比较全的esql/c电子书?

论坛徽章:
0
2 [报告]
发表于 2006-02-21 16:52 |只看该作者
都是ld 的参数,
   -s
          Strip symbolic information from the output file. The debug and
          line sections and their associated relocation entries will be
          removed. Except for relocatable files or shared objects, the
          symbol table and string table sections will also be removed
          from the output object file.
   -lx
          Search a library libx.so or libx.a, the conventional names for
          shared object and archive libraries, respectively. In dynamic
          mode, unless the -Bstatic option is in effect, ld searches each
          directory specified in the library search path for a file
          libx.so or libx.a. The directory search stops at the first
          directory containing either. ld chooses the file ending in .so
          if -lx expands to two files whose names are of the form libx.so
          and libx.a. If no libx.so is found, then ld accepts libx.a. In
          static mode, or when the -Bstatic option is in effect, ld
          selects only the file ending in .a. A library is searched when
          its name is encountered, so the order of the -l, -B and -L is
          significant.

论坛徽章:
0
3 [报告]
发表于 2006-02-21 17:16 |只看该作者
谢谢阿!
什么是ld?我用man ld 不成啊?

论坛徽章:
0
4 [报告]
发表于 2006-02-22 09:08 |只看该作者
ld 是编译程序的连接程序。cc 会调用它。
你的什么环境,是不是没装man?

论坛徽章:
0
5 [报告]
发表于 2006-02-22 10:35 |只看该作者
我是 sco unix 5.05
man 是有的,比如 man ls 就能看到联机帮助,但man ld 就不成了

论坛徽章:
0
6 [报告]
发表于 2006-02-22 11:59 |只看该作者
是不是没装 开发系统?
man cc 有没有?

论坛徽章:
11
数据库技术版块每日发帖之星
日期:2016-06-25 06:20:00数据库技术版块每日发帖之星
日期:2016-06-24 06:20:00数据库技术版块每日发帖之星
日期:2016-05-03 06:20:00数据库技术版块每日发帖之星
日期:2016-04-21 06:20:00数据库技术版块每日发帖之星
日期:2016-01-23 06:20:00数据库技术版块每日发帖之星
日期:2015-12-03 06:20:00综合交流区版块每周发帖之星
日期:2015-12-02 15:03:53数据库技术版块每日发帖之星
日期:2015-10-19 06:20:00数据库技术版块每日发帖之星
日期:2015-08-20 06:20:002015年辞旧岁徽章
日期:2015-03-03 16:54:15数据库技术版块每日发帖之星
日期:2016-07-30 06:20:00
7 [报告]
发表于 2006-02-22 17:04 |只看该作者
esql --
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP