Conflict between GCC G++ and Solaris 2.6

Alexandre Oliva oliva@dcc.unicamp.br
Tue Aug 31 22:45:00 GMT 1999


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



More information about the Gcc-bugs mailing list