On Tue, 09 Nov 1999, shevek wrote:

> I can help you there. If you have the packing format specs of PMA, I could
> as well write a whole new unpacker/packer for unix. Just let me know what
> you need/what you have.

I don't have any specs, I only have a Java source that extracts the
"-pm2-" stream. I'm reorganising it so that it matches the LHA source as
much as possible.

I'm only aiming for PMA unpacking, packing is not that interesting to me.
After all, PMEXT can handle the "-lz5-" type streams made by LHA.

If I run into troubles with the Java to C conversion, I'll let you know.
However, if you are curious, you can always get the Java source.
It's quite fast, by the way, 115K of text (DOS2 function specification) was
unpacked in 380 ms (P2/400, IBM's Java VM for Linux).


On Tue, 09 Nov 1999, Alex Wulms wrote:

> You can try to convert your java code to C. Perhaps there are even tools on 
> the internet that can do that for you. A Java to C compiler.

GCC 2.95 can compile Java to C++. However, LHA is written in C, not C++.
Also, the generated C++ relies on a library containing a garbage collector
and some other stuff. So automatic conversion is not an ideal option.

Bye,
                Maarten

****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)
****

Reply via email to