This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Conflict between GCC G++ and Solaris 2.6


On Aug 23, 1999, Nathan Sidwell <nathan@acm.org> wrote:

> The fix is to correct autoconf so that it does not add
> -I/usr/openwin include to the include path

Nope, it wouldn't work on Solaris <= 2.5 (.1?)

> [I beleive the symbolic link is standard on solaris?]

Only on 2.6 and 7.  But autoconf could always test /usr/include/X11
before /usr/openwin/include, of course...

Meanwhile, people who want to compile C++/X11 applications on Solaris
will have to arrange that the -I/usr/openwin/include autoconf detects
for X11 is removed if /usr/include/X11 exists, and is edited with 
`s/-I/-isystem /' otherwise.

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{dcc.unicamp.br,guarana.{org,com}} aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]