开发者

ar command line length

I have an extremely long command line given to ar (android ar exactly) by bjam,开发者_如何转开发 and ar just corrupts a file path and complains that file does not exist.

Is there a way to make ar allocate a bigger command line buffer ?


Not sure about the Android version but many ar implementations (and indeed many other commands) allow you to put all your arguments into a file (say xyz.opt) and then use something like ar @xyz.opt to do the grunt work.

That works because the limitation tends to be not so much on the program itself but often on the shell constructing the argument list. By placing the arguments into a file, you can effectively get around that limitation.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜