From: Xavier Leroy <Xavier.Leroy@inria.fr>
To: Jeremy Shute <shutej@gmail.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] MinGW release running out of command line before passing to GCC?
Date: Mon, 06 Mar 2006 11:48:34 +0100 [thread overview]
Message-ID: <440C1382.5050403@inria.fr> (raw)
In-Reply-To: <8c64de0a0603051644p688d693fi2f62c55256bb6fd8@mail.gmail.com>
> I'm running 3.09 MinGW. When trying to compile like this...
>
> ocamlopt.opt -warn-error A -I . -o A.opt unix.cmxa str.cmxa nums.cmxa
> libB.cmxa A.cmx
>
> ...I get this error...
>
> gcc: @F:\DOCUME~1\user\LOCALS~1\Temp\camlresp33a735: Invalid argument
> Error during linking
>
> When I fiddle around with it, I discover that the problems come when I
> add another object to be linked. This can be either my own binary or
> one of the Caml included libraries.
>
> Can anyone explain why this might be
You're using a set of MinGW compilers that do not understand the
@responsefile notation for bypassing Window's stupidly low limits on
command-line length.
> , and what I can do to remedy it?
See the installation instructions (file README.win32), paragraph
starting with "Do *not* install the Mingw/MSYS development tools from
www.mingw.org".
- Xavier Leroy
next prev parent reply other threads:[~2006-03-06 10:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-06 0:44 Jeremy Shute
2006-03-06 10:48 ` Xavier Leroy [this message]
2006-03-16 12:43 ` spiralvoice
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=440C1382.5050403@inria.fr \
--to=xavier.leroy@inria.fr \
--cc=caml-list@inria.fr \
--cc=shutej@gmail.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