This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: XFree 4.2.1 + fontconfig-2
- From: Alexander Gottwald <Alexander dot Gottwald at informatik dot tu-chemnitz dot de>
- To: <cygwin-xfree at cygwin dot com>
- Date: Thu, 19 Sep 2002 20:33:24 +0200 (MEST)
- Subject: Re: XFree 4.2.1 + fontconfig-2
- Reply-to: cygwin-xfree at cygwin dot com
On Thu, 19 Sep 2002, Alan Hourihane wrote:
> It's more likely a historical thing. Just flip the flag to YES and
> rebuild. Alexander had a script to generate the foo-def.cpp files.
Actually it was a piece of an Imakefile. So let's convert it into a shell
script
#!/bin/bash
# usage: gendef libname objectfiles
# Generate dll export defines from object files
#
LIBNAME="$1"
shift
(
echo "LIBRARY $LIBNAME"
echo "VERSION LIBRARY_VERSION"
echo "EXPORTS"
${NM:-nm} --demangle --defined-only "$@" | \
sed -n 's/^.* T //p' | sed '/^typeinfo name\|:\|(/ d'
) > "$LIBNAME-def.cpp"
So 'gendef Xaw *.o' would create the export list for libXaw
HTH
ago
--
Alexander.Gottwald@informatik.tu-chemnitz.de
http://www.gotti.org ICQ: 126018723