[9765] in The GTK GIMP ToolKit mailing list archive
[gtk-list] Re: --display on solaris ?
daemon@ATHENA.MIT.EDU (Owen Taylor)
Mon Nov 2 13:36:57 1998
To: gtk-list@redhat.com
Cc: devious@verinet.com
From: Owen Taylor <otaylor@redhat.com>
Date: 02 Nov 1998 13:31:46 -0500
In-Reply-To: Adam Kopacz's message of "Mon, 2 Nov 1998 18:20:18 +0100"
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com
Adam Kopacz <adam.k@idnet.de> writes:
> Hi Owen Taylor,
>
> > I'm very confused as to how they could not work - does the
>
> solaris don't has the long_options stuff build into libc :-(
> (and no getopt.h)..
> in qiv we have an extra compiling option to use short_options only with
> solaris (SunOS)..
>
> there is an libary that enable this stuff but nobody seems to have it :(
>
> > (As a trivial example, are you able to configure GTK+ as
> > configure --enable-debug
> > ?)
>
> i don't have a solaris machine here but i hope devious will check this.
>
> ps: check out http://www.klografx.de/software/qiv-devel/
> this version works fine on solaris but the "--display" don't work..
GTK+ doesn't use getopt, or getopt_long - it processes
the arguments itself.
Perhaps all you need to do is call gtk_init(&argc, &argv)
_before_ you process the arguments yourself?
Regards,
Owen
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null