Subject: Re: pkg/37200: devel/glib2 fails on Solaris 5.9 due to compiler flags in sunpro.mk
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Bernd Ernesti <veego@NetBSD.org>
List: pkgsrc-bugs
Date: 10/25/2007 15:05:03
The following reply was made to PR pkg/37200; it has been noted by GNATS.
From: Bernd Ernesti <veego@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/37200: devel/glib2 fails on Solaris 5.9 due to compiler flags in sunpro.mk
Date: Thu, 25 Oct 2007 17:03:52 +0200
On Thu, Oct 25, 2007 at 02:10:57PM +0200, Ulrich Habel wrote:
[..]
> If I compile this file on Solaris 9 it looks like this:
>
> admin@sun-install ~ > cc -xc99 main.c
> cc: -xc99=lib is not available on SunOS 5.9
> admin@sun-install ~ >
It works here on Solaris 9, but then this is an older compiler:
Forte Developer 7 C 5.4 2002/03/09
Do you use cc from /opt/SUNWspro/bin/cc (where there could be a link to it
in /usr/bin) or is cc a wrapper?
I still suspect it is a problem with one or two compiler versions and not the OS
iteself.
Bernd
P.S. gnats-bugs@NetBSD.org is enough to reply to. This gets forwared to this list.