[ECOS] JAR Files

Andrew Lunn andrew.lunn@ascom.ch
Fri May 16 14:53:00 GMT 2003

On Fri, May 16, 2003 at 10:57:19AM -0400, Justin Bojarski wrote:
> Hello,
> I'm developing a c application to be run within the eCos environment.
> One of the requirements of this application is that it has to unzip a
> JAR file and then read the contents (or run a binary file if thats the
> case). So my question is twofold. First of all, is there a way to run
> system commands from within c for eCos. I know in windows or unix you
> can do a code line like system("clear"); Can I do similar commands
> within c in eCos? Additionally, is there an unzip tool that comes with
> eCos so that I can accomplish the above by just invoking a system
> command? For example, writing a line like:
> system("unzip testArchive.jar");

Nope, no system call. There is a gzip library though, so you can
gunzip files.

You say run a binary file. eCos does not support dynamic loading of
object code. How do you plan to run this code?


Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

More information about the Ecos-discuss mailing list