[
https://issues.apache.org/jira/browse/TS-1733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dale Ghent updated TS-1733:
---------------------------
Description:
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.
was:
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 affects that change and also updates the various Makefiles, READMEs,
and source file comments to reflect the new argument structure.
> 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
> 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