From: Xavier Leroy <xleroy@pauillac.inria.fr>
To: kgallo@microsoft.com (Kevin Gallo)
Cc: caml-list@pauillac.inria.fr
Subject: Re: Command line too long
Date: Fri, 8 Mar 1996 10:22:23 +0100 (MET) [thread overview]
Message-ID: <199603080922.KAA09361@pauillac.inria.fr> (raw)
In-Reply-To: <c=US%a=_%p=msft%l=RED-81-MSG-960306002941Z-7477@red-05-imc.itg.microsoft.com> from "Kevin Gallo" at Mar 5, 96 04:29:41 pm
> I am using CSL 1.12 (the native code compiler) and I have the problem
> that my command line gets too long for my shell to handle. I see no
> solution to the problem other than trying to shorten the command line
> but this undesirable. Is there a way to partially link several modules
> to do the compile in stages?
You can use libraries as intermediate steps:
cslopt -a -o templib1.cmxa <many .cmx files>
cslopt -a -o templib2.cmxa <more .cmx files>
cslopt -o myexec templib1.cmxa templib2.cmxa <remaining .cmx files>
This takes a little longer to link because of the extra I/O involved
with building the libraries, but it should work.
> Also it would be nice if CSL could support
> response files (files with the command line parameters) to allow for
> unlimited argument lengths.
Modern Unix systems set the ARG_MAX limit so high (128 kbytes under
Linux, 40 kbytes under OSF1) that I was hoping this would not be necessary.
Best regards,
- Xavier Leroy
prev parent reply other threads:[~1996-03-08 13:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-03-06 0:29 Kevin Gallo
1996-03-08 9:22 ` Xavier Leroy [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=199603080922.KAA09361@pauillac.inria.fr \
--to=xleroy@pauillac.inria.fr \
--cc=caml-list@pauillac.inria.fr \
--cc=kgallo@microsoft.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox