This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: JAR Files


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]