A priori the rootcint internal limit on the number of arguments is 500.
One experiment to do, is to modify core/utils/src/rootcint.cxx’s main
to immediately returns. If it still crash then we know that it is really a system limit (i.e. setting on your machine).
Doing as you suggest (now with ROOT 5.24 but still on OSX 10.5.7) and adding a:
as the first line of main() in core/utils/src/rootcint.cxx still results in a segmentation fault in exactly the same place.
Then this problem is definitively a setting on your machine (and/or your shell) that limits the number of arguments and/or the command line length.
The problem went away when I installed Snow leopard. Must have been an OS glitch.