This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: new lib XTrap & fontenc
- From: Christopher Faylor <cgf at redhat dot com>
- To: cygwin-xfree at cygwin dot com
- Date: Wed, 14 Nov 2001 21:09:46 -0500
- Subject: Re: new lib XTrap & fontenc
- References: <NHEELHJHHFKPMAEAFMFCOEJNCKAA.huntharo@msu.edu>
- Reply-to: cygwin-xfree at cygwin dot com
On Wed, Nov 14, 2001 at 09:05:10PM -0500, Harold Hunt wrote:
>> > > > We had this small script, which grabbed the symbols from the
>library.
>> > > > I think this will at least give a good base to work on. Is this
>still
>> > > > in CVS?
>> > > >
>> > > I don't remember committing any script to auto-generate the cpp files.
>> > >
>> > > Are you sure your not getting confused with the auto-generated .def
>> > > files that come from the .cpp files ?
>> >
>> > Actually i meant a Imakefile rule, which tried to generate the .def file
>> > from the symbols exported by the library. It seems that this never made
>> > it into xfree-cvs.
>> >
>> > The following commands should print the exported symbols for the dll.
>> > nm --demangle --defined-only *.o | sed -n 's/^.* [A-Z] //p' | \
>> > sed '/^typeinfo name\|^typeinfo for\|^vtable for\|^constrution \
>> > vtable for\|^VTT\|:\|)/ d'
>> >
>> O.k. Can you work out the Imakefile changes needed and do a full World
>> build and send a diff in ?
>
>If I recall correctly, the reason the 'nm' command was not committed was
>because it didn't work during cross compiling. I could be wrong, but please
>send me a patch to test for cross compiling before committing.
It's probably obvious but you could do something like:
nm=`{i6q86-pc-cygwin-nm --help >/dev/null 2>& 1 && echo i686-pc-cygwin-nm; } || echo nm`
and then use '$nm' in the above.
Assuming that this was cygwin-specific, of course.
cgf