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]
Other format: [Raw text]

Re: new lib XTrap & fontenc


On Wed, Nov 14, 2001 at 09:09:46PM -0500, Christopher Faylor wrote:
>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`
        ^
    nuke the q

I just put that there to see if both cases worked or not and forgot
to remove it when I pasted the example into my email.

cgf

>and then use '$nm' in the above.
>
>Assuming that this was cygwin-specific, of course.
>
>cgf

-- 
cgf@redhat.com                        Red Hat, Inc.
http://sources.redhat.com/            http://www.redhat.com/


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