Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
ocamlopt: win32+mingw: -lgcc?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-10-13 (15:32)
From: Igor Peshansky <pechtcha@c...>
Subject: Re: [Caml-list] ocamlopt: win32+mingw: -lgcc?
On Fri, 13 Oct 2006, Philip A. Viton wrote:

> Following Xavier Leroy's suggestion, I'm trying to work with the mingw
> port of ocaml for win32. I've got a fairly complete cygwin installed,
> including, I think, all the packages mentioned in the instructions. But
> when I try to work wiht ocamplopt I get an link error referring to -lgcc
> (not found). A look though the cygwin distrib for "*lgcc*.*" finds
> nothing. Can someone tell me what package this is part of?

That would be libgcc.a, and it's part of the gcc-core (Cygwin) and
gcc-mingw-core (MinGW) packages.
      |\      _,,,---,,_ |
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"