From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 6696BBC48 for ; Mon, 21 Mar 2005 21:12:11 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j2LKCBNn018807 for ; Mon, 21 Mar 2005 21:12:11 +0100 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id VAA02715 for ; Mon, 21 Mar 2005 21:12:10 +0100 (MET) Received: from [IPv6:::1] (yquem.inria.fr [128.93.8.37]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j2LKC910018804 for ; Mon, 21 Mar 2005 21:12:10 +0100 Mime-Version: 1.0 (Apple Message framework v619.2) In-Reply-To: <20050321.143551.126778020.eijiro_sumii@anet.ne.jp> References: <423EE5DE.3070300@informatik.uni-oldenburg.de> <20050321160011.GA3969@yquem.inria.fr> <20050321.143551.126778020.eijiro_sumii@anet.ne.jp> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Damien Doligez Subject: Re: [Caml-list] Problems compiling 3.08.3 on Solaris/SPARC 9 Date: Mon, 21 Mar 2005 21:12:23 +0100 To: caml users X-Mailer: Apple Mail (2.619.2) X-Miltered: at nez-perce with ID 423F2A9B.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 423F2A99.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; damien:01 damien:01 caml-list:01 eijiro:01 sumii:01 otherlibs:01 usr:01 xlib:01 gcc:01 gcc:01 -mm:01 -mm:01 semantics:01 usr:01 ocaml:01 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.2 X-Spam-Level: On Mar 21, 2005, at 20:35, Eijiro Sumii wrote: > ocaml-3.08.3/otherlibs/graph/.depend > > includes paths like > > /usr/X11R6/include/X11/Xlib.h > > which are not correct in environments like Solaris 9. I had to edit > them by hand. This looks like a new gcc "feature". From the man page of gcc on my machine: -MM Like -M but do not mention header files that are found in system header directories, nor header files that are included, directly or indirectly, from such a header. This implies that the choice of angle brackets or double quotes in an #include directive does not in itself determine whether that header will appear in -MM dependency output. This is a slight change in semantics from GCC versions 3.0 and earlier. So it doesn't think that /usr/X11R6/include is a system header directory; I guess we should use the "-isystem" option instead of "-I", but that would make it even harder to compile OCaml without gcc. -- Damien