Re: --display on solaris ?




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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]