caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Jeremy Shute" <shutej@gmail.com>
To: caml-list@inria.fr
Subject: MinGW release running out of command line before passing to GCC?
Date: Sun, 5 Mar 2006 19:44:19 -0500	[thread overview]
Message-ID: <8c64de0a0603051644p688d693fi2f62c55256bb6fd8@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 545 bytes --]

Hi,

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, and what I can do to remedy it?

Jeremy

[-- Attachment #2: Type: text/html, Size: 1108 bytes --]

             reply	other threads:[~2006-03-06  0:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-06  0:44 Jeremy Shute [this message]
2006-03-06 10:48 ` [Caml-list] " Xavier Leroy
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=8c64de0a0603051644p688d693fi2f62c55256bb6fd8@mail.gmail.com \
    --to=shutej@gmail.com \
    --cc=caml-list@inria.fr \
    /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;
as well as URLs for NNTP newsgroup(s).