XFree 4.2.1 + fontconfig-2
Alexander Gottwald
Alexander.Gottwald@informatik.tu-chemnitz.de
Thu Sep 19 11:41:00 GMT 2002
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
More information about the Cygwin-xfree
mailing list