Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Problem compiling on sparc-sun-solaris2.8
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Xavier Leroy <xavier.leroy@i...>
Subject: Re: [Caml-list] Problem compiling on sparc-sun-solaris2.8
> I am trying to compile on sparc-sun-solaris2.8 with gcc version 3.2
> (could the gcc version be the problem?)
> I ran "configure --no-tk".
> 
> I get pretty far along then get the error below.  I cannot find
> any library named gcc_s.
> 
> Does anyone have any suggestions?

It could be due to a gcc installation problem.  I had no problems
compiling OCaml under Solaris 2.9 using either Sun's provided gcc 2
or a precompiled gcc 3 that I found on a "Sun Software" site.

To diagnose the problem, it would be useful to stick a "-verbose"
option to ocamlmklib in the call

> ../../boot/ocamlrun ../../tools/ocamlmklib -o unix accept.o [...]

But in a hurry you can also configure OCaml with the -no-shared-libs
option.  That might be enough to avoid running into the problem.

- Xavier Leroy

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners