Version française
Home     About     Download     Resources     Contact us    
Browse thread
MinGW release running out of command line before passing to GCC?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jeremy Shute <shutej@g...>
Subject: MinGW release running out of command line before passing to GCC?
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