[ET Trac] #2908: Cactus: Fixed arg list too long error.
Roland Haas
trac-noreply at einsteintoolkit.org
Thu Mar 12 11:48:54 CDT 2026
#2908: Cactus: Fixed arg list too long error.
Reporter: Max Morris
Status: open
Milestone:
Version:
Type: bug
Priority: major
Component:
Comment (by Roland Haas):
Looking at this carefully, the only reason for this song and dance is to create a file with the list of object files in it. However for the last 14 years GNU make has had a `file` function
```
fca11f60 - Create a new function $(file ...) (14 years ago) <Paul Smith>
```
that does just that (https://www.gnu.org/software/make/manual/html_node/File-Function.html):
> The file function allows the makefile to write to or read from a file.
which is intended for exactly this use (from the example in the docs):
```
program: $(OBJECTS)
$(file >$@.in,$^)
$(CMD) $(CMDFLAGS) @$@.in
@rm $@.in
```
I have updated the pull request to use this function which avoids the various case distinctions and warnings written to screen.
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2908/cactus-fixed-arg-list-too-long-error
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.einsteintoolkit.org/pipermail/trac/attachments/20260312/e51b32d1/attachment.htm>
More information about the Trac
mailing list