[haXe] Stand-alone neko
Nicolas Cannasse
ncannasse at motion-twin.com
Tue Dec 4 12:32:06 CET 2007
Hugh Sanderson a écrit :
> Ah yes, xcross looks like the sort of thing I was interested in.
> I should have looked at that first. Interesting to note both use upx.
Yes, I actually contact UPX author and we were able to get it working
for OSX Universal binaries as well ;)
> I think the GetModuleHandle(0) will work - if my ancient linux
> memory serves me dlopen(0...), as long as you export all the symbols
> with the linker option. Don't know about mac though.
> If it was c++, you could use some DEFINE_PRIM magic to do some good stuff.
If it works on all platforms, then that would be a very good solution
for xCross as well since right now I have to list all the primitives, so
it's actually difficult to plugin additional libraries while with your
solution it's only needed to link more libs to get them automagically
available.
> Also, I didn't even consider explicitly linking against the vc6 runtime.
> That could solve a few problems.
Yes, this is a common problem with VisualStudio.
Best,
Nicolas
More information about the Haxe
mailing list