最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

ar命令中的参数s的作用

工作和技术 crifan 2515浏览 0评论

在下面的命令中:

arm-linux-ar cru .libs/libmad.a version.o fixed.o bit.o timer.o stream.o frame.o synth.o decoder.o layer12.o layer3.o huffman.o imdct_l_arm.o
arm-linux-ranlib .libs/libmad.a

关于arm-linux-ar的参数 cru 中,没有 s。

其他有些具体项目的参数有的是,rcs,其中的s的含义,去查了下:

ar s

Write an object-file index into the archive, or update an existing one, even if no other change is made to the archive. You may use this modifier flag either with any operation, or alone. Running ar s on an archive is equivalent to running ranlib on it.

就相当于是接着再运行的 arm-linux-ranlib 。

转载请注明:在路上 » ar命令中的参数s的作用

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
79 queries in 0.166 seconds, using 22.09MB memory