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


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

RE: Xrandr


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


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