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:46)
From: Philip A. Viton <viton.1@o...>
Subject: Re: [Caml-list] ocamlopt: win32+mingw: -lgcc?

Thanks, Igor! I wasn't getting the include library's location right 
(I'm working from a batch file, not a bash session); with your info, 
everything's working as it should. Thanks again!

At 11:26 AM 10/13/2006, you wrote:
>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.
>         Igor
>       |\      _,,,---,,_   |
>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"

Philip A. Viton
City Planning, Ohio State University
275 West Woodruff Avenue, Columbus OH 43210