Xrandr

Harold Hunt huntharo@msu.edu
Tue Jul 31 08:19:00 GMT 2001


Alexander,

> What about adding this to Library.tmpl. Then the file is
> automaticly created.
>
> #ifdef __CYGWIN__
> #ifndef NmProg
> #define NmProg nm
> #endif
>
> $(LIBNAME)-def.cpp: $(OBJS)
>     ( echo "LIBRARY $(LIBNAME)" ; echo "VERSION LIBRARY_VERSION"
> ; echo "EXPORTS"; NmProg --demangle --defined-only $(OBJS) | sed
> -n 's/^.* T //p' ) > $(LIBNAME)-def.cpp
> #endif

Have you tested that?  I would love to have something like that, because we
currently have to have a development member that remembers to occasionally
chant the proper incantations over the *-def.cpp files.  If you could
resubmit the above as a patch I'd appreciate it, and I'll test it as well.

Harold



More information about the Cygwin-xfree mailing list