This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
GCC question
- To: <gcc-help at gcc dot gnu dot org>
- Subject: GCC question
- From: "John Ratcliff" <jratcliff at verant dot com>
- Date: Tue, 4 Jan 2000 23:22:55 -0600
- References: <947048956.20674.ezmlm@gcc.gnu.org>
Quick question. I'm looking to put an embedded VM inside my application.
What I want is a C++ compiler that will produce an OS neutral byte code and
I will have a VM to interpret it. I want the VM to be 100% ANSI complient,
OS neutral C or C++ code.
Java seems like the likely candidate, however the Java VM implementations I
have seen are rather huge. One approach would be to have GCC produce, say
80386 code, and then write a C implementation of an 80386 emulator.
Actually not a bad idea....anybody got one laying around?
Is there a version of the GCC compiler that produces OS neutral VM byte code
and a corresponding *small* (very small) byte code interpreter for it,
written in C or C++?
What I want to accomplish is to download OS neutral binaries over the
internet to an application running on completely different processors. One
is a Pentium but the other is a console machine that I am not at liberty to
discuss. As well, there might be more processors I would support in the
future. I want to be able to download and execute these binaries on any of
the machines. I don't need a JIT compiler, that's overkill since this isn't
performance oriented code, mostly high level game logic calling high speed
native routines.
It there a solution short of including the rather massive, huge, and fat,
Java VM? Or, is there a thin, skinny, small Java VM implementation?
Thanks,
John W. Ratcliff
Senior Software Engineer
Verant Interactive