> > > > 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. Alexander - your followup to create the new static .def files sounds good to me. :) Harold