[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] Configure on Windows (was:GTK+ 2.2 Win32 build: display
From: |
Holger |
Subject: |
Re: [Bug-gnubg] Configure on Windows (was:GTK+ 2.2 Win32 build: display much too slow) |
Date: |
Fri, 31 Jan 2003 00:53:29 +0100 |
On Wed, 29 Jan 2003 17:46:12 +0000, Joern Thyssen wrote:
> On Wed, Jan 29, 2003 at 06:40:21PM +0100, Holger wrote
> > >From configure:
> > | os=`config.guess | sed 's/^\(.*\)-\(^-*-^-*\)$/\2/'`
> > | if test "$os" = "mingw32"; then
> >
> > I suppose that the above is a normal regular expression (like in
> > Perl)? Then to me ^-*-^-* looks suspicious. i686-pc-mingw32 has only
> > two hyphens.
> > And the braces have to be escaped for the shell?
>
> Can you try with
> os=`config.guess | sed 's/.*-//'`
Yes, seems to work.
There are a few more issues configuring under Windows/MSYS.
First there is no gtk-config. I've solved this by writing a wrapper
for pkg-config. But one has to decide before which GTK version should
be used. See below.
The libxml-2.0 package doesn't provide a pkg-config file. But there is
xml2-config. Current version is:
$ xml2-config --version
2.4.12
Maybe there is more. I'll report it when I find something.
Regards,
Holger
gtk-config:
----------------------------------------------------------
#! /bin/sh
usage()
{
cat <<EOF
Usage: gtk-config [OPTIONS] [LIBRARIES]
Options:
[--version]
[--libs]
[--cflags]
EOF
exit $1
}
if test $# -eq 0 ; then
usage 1 1>&2
fi
while test $# -gt 0 ; do
case "$1" in
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
*) optarg= ;;
esac
case $1 in
--version)
pkg-config gtk+-1.3-win32-production --modversion
;;
--cflags)
pkg-config gtk+-1.3-win32-production $*
;;
--libs)
pkg-config gtk+-1.3-win32-production $*
;;
*)
pkg-config gtk+-1.3-win32-production $*
;;
esac
shift
done
# EOF
----------------------------------------------------------
- Re: [Bug-gnubg] GTK+ 2.2 Win32 build: display much too slow, (continued)
- Re: [Bug-gnubg] GTK+ 2.2 Win32 build: display much too slow, Nardy Pillards, 2003/01/22
- Re: [Bug-gnubg] GTK+ 2.2 Win32 build: display much too slow, Holger, 2003/01/23
- Re: [Bug-gnubg] GTK+ 2.2 Win32 build: display much too slow, Joern Thyssen, 2003/01/24
- Re: [Bug-gnubg] GTK+ 2.2 Win32 build: display much too slow, Holger, 2003/01/27
- Re: [Bug-gnubg] GTK+ 2.2 Win32 build: display much too slow, Joern Thyssen, 2003/01/28
- Re: [Bug-gnubg] GTK+ 2.2 Win32 build: display much too slow, Holger, 2003/01/29
- Re: [Bug-gnubg] GTK+ 2.2 Win32 build: display much too slow, Joern Thyssen, 2003/01/29
- Re: [Bug-gnubg] Configure on Windows (was:GTK+ 2.2 Win32 build: display much too slow), Holger, 2003/01/29
- Re: [Bug-gnubg] Configure on Windows (was:GTK+ 2.2 Win32 build: display much too slow), Holger, 2003/01/29
- Re: [Bug-gnubg] Configure on Windows (was:GTK+ 2.2 Win32 build: display much too slow), Joern Thyssen, 2003/01/29
- Re: [Bug-gnubg] Configure on Windows (was:GTK+ 2.2 Win32 build: display much too slow),
Holger <=