caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* AW: [Caml-list] Linking with ocamlopt fails.
@ 2005-02-21 11:45 Bauer, Christoph
  2005-02-21 17:18 ` Igor Pechtchanski
  0 siblings, 1 reply; 2+ messages in thread
From: Bauer, Christoph @ 2005-02-21 11:45 UTC (permalink / raw)
  To: 'Julian', caml-list

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

Hi,

> I'm using the binary distribution of OCaml based on MinGW.
> I noticed that when I try to link more than 11 files together with 
> ocamlopt, it fails :
> 
> 
> ocamlopt  -o helloworld.exe -I +sdl -I +lablGL lablgl.cmxa sdl.cmxa 
> sdlttf.cmxa bigarray.cmxa sdlloader.cmxa sdlmixer.cmxa global.cmx 
> events.cmx scene.cmx camera.cmx tex.cmx interface.cmx
> gcc: @C:/Temp\camlrespee624e: Invalid argument
> Error during linking

Open a cygwin shell and try it again.

Christoph Bauer

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: AW: [Caml-list] Linking with ocamlopt fails.
  2005-02-21 11:45 AW: [Caml-list] Linking with ocamlopt fails Bauer, Christoph
@ 2005-02-21 17:18 ` Igor Pechtchanski
  0 siblings, 0 replies; 2+ messages in thread
From: Igor Pechtchanski @ 2005-02-21 17:18 UTC (permalink / raw)
  To: Bauer, Christoph; +Cc: 'Julian', caml-list

On Mon, 21 Feb 2005, Bauer, Christoph wrote:

> Hi,
>
> > I'm using the binary distribution of OCaml based on MinGW.
> > I noticed that when I try to link more than 11 files together with
> > ocamlopt, it fails :
> >
> > ocamlopt  -o helloworld.exe -I +sdl -I +lablGL lablgl.cmxa sdl.cmxa
> > sdlttf.cmxa bigarray.cmxa sdlloader.cmxa sdlmixer.cmxa global.cmx
> > events.cmx scene.cmx camera.cmx tex.cmx interface.cmx
> > gcc: @C:/Temp\camlrespee624e: Invalid argument
> > Error during linking
>
> Open a cygwin shell and try it again.

...Or try the Cygwin version of O'Caml.

Igor Pechtchanski, the volunteer O'Caml maintainer for Cygwin
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-02-21 17:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-21 11:45 AW: [Caml-list] Linking with ocamlopt fails Bauer, Christoph
2005-02-21 17:18 ` Igor Pechtchanski

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).