This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: JAR Files
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: Justin Bojarski <jbojarski at sarnoff dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Fri, 16 May 2003 16:53:38 +0200
- Subject: Re: [ECOS] JAR Files
- References: <3EC3F894.5522DAA4@sarnoff.com> <3EC4FC4F.D7123C4F@sarnoff.com>
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?
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss