From: Damien Doligez <damien.doligez@inria.fr>
To: caml users <caml-list@inria.fr>
Subject: Re: [Caml-list] Problems compiling 3.08.3 on Solaris/SPARC 9
Date: Mon, 21 Mar 2005 21:12:23 +0100 [thread overview]
Message-ID: <b58ae9c7d1b84895e21ece391c4ec5dc@inria.fr> (raw)
In-Reply-To: <20050321.143551.126778020.eijiro_sumii@anet.ne.jp>
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
prev parent reply other threads:[~2005-03-21 20:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-21 15:18 Bernd Kuhls
2005-03-21 15:30 ` [Caml-list] " Daan Leijen
2005-03-21 15:49 ` Bernd Kuhls
2005-03-21 16:00 ` Xavier Leroy
2005-03-21 19:35 ` Eijiro Sumii
2005-03-21 20:12 ` Damien Doligez [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b58ae9c7d1b84895e21ece391c4ec5dc@inria.fr \
--to=damien.doligez@inria.fr \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).