Dale Ghent created TS-1733:
------------------------------

             Summary: 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
         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. tscx 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.

--
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

Reply via email to