From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id UAA27175; Mon, 9 Jun 2003 20:35:01 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id UAA26895 for ; Mon, 9 Jun 2003 20:35:00 +0200 (MET DST) Received: from linux.research.att.com (H-135-207-24-16.research.att.com [135.207.24.16]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h59IYwH02890; Mon, 9 Jun 2003 20:34:58 +0200 (MET DST) Received: from bigmail.research.att.com (bigmail.research.att.com [135.207.30.101]) by linux.research.att.com (8.12.8/8.12.8) with ESMTP id h59IdtEI015214; Mon, 9 Jun 2003 14:39:55 -0400 Received: from squeak.research.att.com (squeak.research.att.com [135.207.26.39]) by bigmail.research.att.com (8.11.6+Sun/8.11.6) with ESMTP id h59IYrV15423; Mon, 9 Jun 2003 14:34:53 -0400 (EDT) Subject: Re: [Caml-list] Problem compiling on sparc-sun-solaris2.8 From: Mary Fernandez To: Xavier Leroy Cc: caml-list@inria.fr, Jerome Simeon In-Reply-To: <20030609183050.E22874@pauillac.inria.fr> References: <3EE4A64A.4010902@research.att.com> <20030609183050.E22874@pauillac.inria.fr> Content-Type: text/plain Organization: AT&T Labs - Research Message-Id: <1055183660.1446.55.camel@squeak.research.att.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Date: 09 Jun 2003 14:34:20 -0400 Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; mff:99 caml-list:01 gcc:01 -verbose:01 ocamlrun:01 fernandez:01 ocaml:01 ocamlmklib:01 configure:02 compile:02 unix:02 boot:02 wrote:03 compiling:03 library:03 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi Xavier, The -no-shared-libs option did the trick. Thanks, Mary On Mon, 2003-06-09 at 12:30, Xavier Leroy wrote: > > 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 -- Mary Fernandez AT&T Labs - Research ------------------- 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