This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: pcre and aspell-dict packs


Hallo Gareth,

> in (feeling guilty) other news, maybe this weekend i'll get a chance to
> finish up my 3.2.3 gcc packaging attempt (using danny's source, I decided it
> would be better to use his since its more uptodate, in more ways then just
> what source code its based off...)  it compiles - apears to work - needs
> more testing and me to write a type 2 packaging script for it.

I have a small bug here:
make[1]: Entering directory `/winsup/build-gcc/gcc-build/i686-pc-cygwin/libobjc'
make[1]: *** No rule to make target `install-info'.  Stop.
make[1]: Leaving directory `/winsup/build-gcc/gcc-build/i686-pc-cygwin/libobjc'
make: *** [do-install-info] Error 1

I added an empty 'install-info' target to the libobjc/Makefile and
`make install-info` finished without error.

Besides that, Danny's Mingw-version builds fine for me.
It was also able to rebuild gcc-3.2.3 with gcc-3.2.3.

I used this script to build it:

#!/bin/sh
export gccsrc=/winsup/build-gcc/gcc
export inst=/winsup/build-gcc/inst

rm -rf gcc-build
rm -rf inst
mkdir -m 777 -p gcc-build
mkdir -m 777 -p inst
cd gcc-build
${gccsrc}/configure     \
                  --build=i686-pc-cygwin        \
                  --host=i686-pc-cygwin \
                  --target=i686-pc-cygwin       \
                  --enable-haifa        \
                  --prefix=/usr \
                  --exec-prefix=/usr    \
                  --sysconfdir=/etc     \
                  --libdir=/usr/lib     \
                  --libexecdir=/usr/sbin        \
                  --enable-threads=posix        \
                  --enable-nls  \
                  --without-included-gettext    \
                  --with-system-zlib    \
                  --enable-languages=c,c++,f77,objc     \
                  --disable-win32-registry      \
                  --enable-shared       \
                  --disable-sjlj-exceptions     \
                  --disable-version-specific-runtime-libs       \
                  2>&1 | tee log.configure
#make clean
make bootstrap 2>&1 | tee log.make
make install prefix=$inst/usr exec_prefix=$inst/usr \
  bindir=$inst/usr/bin libdir=$inst/usr/lib \
  sysconfdir=$inst/etc includedir=$inst/usr/include \
  tooldir=$inst/usr 2>&1 | tee log.install
make install-info prefix=$inst/usr exec_prefix=$inst/usr \
  bindir=$inst/usr/bin libdir=$inst/usr/lib \
  sysconfdir=$inst/etc includedir=$inst/usr/include \
  tooldir=$inst/usr 2>&1 | tee log.install-info
rm -f $inst/usr/info/dir


And don't forget to patch gcc/version.c


Gerrit
-- 
=^..^=


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]