Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Caml-list] ocamlopt: win32+mingw: -lgcc?

12 views
Skip to first unread message

Philip A. Viton

unread,
Oct 13, 2006, 11:24:28 AM10/13/06
to caml...@yquem.inria.fr

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?

Thanks!

------------------------
Philip A. Viton
City Planning, Ohio State University
275 West Woodruff Avenue, Columbus OH 43210
vit...@osu.edu

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Igor Peshansky

unread,
Oct 13, 2006, 11:37:12 AM10/13/06
to Philip A. Viton
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
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pech...@cs.nyu.edu | ig...@watson.ibm.com
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

unread,
Oct 13, 2006, 11:51:10 AM10/13/06
to caml...@yquem.inria.fr

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
>--
> http://cs.nyu.edu/~pechtcha/
> |\ _,,,---,,_ pech...@cs.nyu.edu | ig...@watson.ibm.com
>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
vit...@osu.edu

_______________________________________________

0 new messages