New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for passing more parameters from external files #5937
Comments
Comment author: @zoggy I put it in the "OCaml general" category, as ocamldoc is not the only tool of the suite who could be added such a command line option, and the code could obviously be shared among the various compilers and tools. |
Comment author: @gasche Between 3.12 and 4.00 we went in the other direction: there was limited support for response files for Windows and we removed it, feeling that command-line length limitations were large enough now for all relevant platforms that this cruft wasn't needed anymore -- removing code is one way to decrease maintenance costs. It might be the case that a portable general-purpose mechanism for option-passing from a text-file could be useful for OCaml. You would have to propose very convincing use-cases for this to be considered for inclusion, though. |
Comment author: @elfring I would like to avoid line length limitations in a portable way. I would appreciate if it will become safer to pass a long list of file names also for OCaml commands. |
Comment author: @ygrek Do you really experience command line length limitation? Can you please share the details - what platform, which command? |
Comment author: @elfring How likely is it to keep file lists and corresponding parameters within bounds? Do you care for the configuration setting "ARG_MAX"? |
I am still curious how affected software components will be improved also for this issue. |
As far as I know, no one is actively working on this, but then enabling support is usually not much work so pull requests are welcome. Note: since the comment by Damien above,
|
As noted in #843 (comment) it would not make sense to implement it for ocamlyacc and ocamllex, so we're left with:
|
|
This issue has been open one year with no activity. Consequently, it is being marked with the "stale" label. What this means is that the issue will be automatically closed in 30 days unless more comments are added or the "stale" label is removed. Comments that provide new information on the issue are especially welcome: is it still reproducible? did it appear in other contexts? how critical is it? etc. |
|
I believe Lines 26 to 29 in b7bf6a7
|
This issue has been open one year with no activity. Consequently, it is being marked with the "stale" label. What this means is that the issue will be automatically closed in 30 days unless more comments are added or the "stale" label is removed. Comments that provide new information on the issue are especially welcome: is it still reproducible? did it appear in other contexts? how critical is it? etc. |
The vast majority of ocaml tools supports the |
Original bug ID: 5937
Reporter: @elfring
Status: acknowledged (set by @zoggy on 2013-08-05T09:13:56Z)
Resolution: open
Priority: high
Severity: feature
Category: tools (ocaml{lex,yacc,dep,debug,...})
Related to: #7050
Monitored by: @elfring @ygrek
Bug description
A tool like "ocamldoc 3.12.1" expects so far that it gets some parameters passed on the command line. The command line length might be limited.
http://www.gnu.org/software/automake/manual/html_node/Length-Limitations.html
I suggest to improve the way in which more data can be optionally passed by external files.
Which command option should indicate a switch to a different data source?
The text was updated successfully, but these errors were encountered: