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


On Sat, 28 Jul 2001, Suhaib Siddiqi wrote:

> Alexander
> Did you submit these patches to Xfree86 Organization?
> 
No. Since I had no idea if it was correct, I just posted it for interested
people and for overlook. I also think it would be the best if you or Harold
collect those patches and send them to XFree86.

> I use nm to create *-def.cpp files from object file, then edit *-def.cpp
> file to add at the top LIBRARY AND VERSION information
> 
> nm --demangle --defined-only *.o | sed -n 's/^.* T //p' > Temp-def.cpp
> 
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

> Suhaib
-- 
Alexander.Gottwald@s1999.tu-chemnitz.de
http://www.gotti.org
phone: +49 3725 3498080     mobile: +49 172 7854017


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