Browse thread
Problems compiling 3.08.3 on Solaris/SPARC 9
-
Bernd Kuhls
- Daan Leijen
-
Xavier Leroy
-
Eijiro Sumii
- Damien Doligez
-
Eijiro Sumii
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Damien Doligez <damien.doligez@i...> |
| Subject: | Re: [Caml-list] Problems compiling 3.08.3 on Solaris/SPARC 9 |
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