Re: wxEuphoria

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Thu, Feb 13, 2003 at 07:31:34AM -0500, Matthew Lewis wrote:
> 
> 
> > From: jbrown1050 at hotpop.com [mailto:jbrown105 at speedymail.org]
> 
> > Well, nm gets the list of names from an executable and prints 
> > the names out,
> > along with the symbol's type and value. It has a demangle 
> > option, so the asm
> > names are converted back to readable C++ names.
> > 
> > We'd probably have to compare outputs of nm on the wxWindows 
> > .so file, once
> > with demangling and once without, and then import the 
> > functions in wxEuphoria
> > via the mangled names, as you have already guessed. If I can, 
> > I'll try to
> > write a function that can automaticly demangle the names 
> > directly, thus
> > avoiding the need to compare such a huge list of names for 
> > wxEuphoria with nm
> > .. twice.
> 
> That's exactly what we'll need.  What I did will the dll was to copy the
> unmangled names into Excel, and assigned them each the proper ordinal, and
> used that for reference.  Then I put that into a text file, and wrote a
> little program to wrap the ordinals for me.  I've now got a file that's
> slightly over 1Mb of constant declarations.  At some point, I'll need to
> break them up somehow, but I'm not sure how to do that when we'll have a
> similar list for the Linux version.
> 
> I've been working on making it into a real library.  Hopefully I'll have
> something worth looking at in a few days.
> 
> Matt Lewis
> 

I haven't even finished compiling wxWindows yet. :[ Its been going on for DAYS
now. *sigh*

If it ever finishes, I'll use nm on it twice, as said, and save the outputs.

Then, perhaps I can write a wrapper program that will write out an include
file which holds a table, for function name conversion.

I just made that sound a lot easier than it probably will be.

jbrown

-- 
 /"\  ASCII ribbon              | http://www.geocities.com/jbrown1050/
 \ /  campain against           | Linux User:190064
  X   HTML in e-mail and        | Linux Machine:84163
 /*\  news, and unneeded MIME   |

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu