RE: wxEuphoria

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

> From: jbrown1050 at hotpop.com [mailto:jbrown1050 at hotpop.com]

> 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

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

Search



Quick Links

User menu

Not signed in.

Misc Menu