[
https://issues.apache.org/jira/browse/TS-1733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13592656#comment-13592656
]
ASF subversion and git services commented on TS-1733:
-----------------------------------------------------
Commit 1944efad2529caf2b9065c82966d7787469f580d in branch refs/heads/master
from [~daleg]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=1944efa ]
TS-1733 - Retool tsxs so that it can compile multiple source files
> Retool tsxs so that it can compile multiple source files
> --------------------------------------------------------
>
> Key: TS-1733
> URL: https://issues.apache.org/jira/browse/TS-1733
> Project: Traffic Server
> Issue Type: Improvement
> Components: Plugins
> Reporter: Dale Ghent
> Assignee: Phil Sorber
> Priority: Minor
> Attachments: ts-tsxs-patch.txt
>
>
> tsxs currently has the -c (and -C, for C++) flags to specify the source files
> it should compile. The problem is that it can't handle multiple invocations
> of -[c|C] cleanly or multiple source files listed following -[c|C]
> This patch changes tsxs to allow for the above. tsxs is written in shell, and
> unfortunately getopts(1) does not allow for multiple values for an argument
> (ie, you cannot specify "-c foo.c bar.c baz.c ..." In order to get around
> this, the -c and -C flags were removed and any and all source files should
> now be specified at the end of the command, like so:
> tsxs -v -o module.so src1.c src2.c src3.c ...
> This patch effects that change and also updates the various Makefiles,
> READMEs, and source file comments to reflect the new argument structure.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira