GCJ for eCos

Andrew Haley aph@redhat.com
Fri Jun 6 12:53:00 GMT 2003


Øyvind Harboe writes:
 > >So, statically linked java is bigger than C++, but only by about a
 > >factor of two.
 > 
 > That varies between environments.
 > 
 > When I compile a hello world in eCos (using GCC), it is 40k.
I'm surprised they can get printf() that small.
 > That includes the eCos embedded OS with serial drivers and
 > multithreading. Impressive by any standard.
Well, hold on now! eCos is a system designed to be configurable and
as tiny as possible. The Java equivalent is perhaps J2ME(TM)
Connected Limited Device Configuration (CLDC). According to the J2ME
datasheet, "These devices typically have either 16-or 32-bit CPUs,and
a minimum of 128 KB to 512 KB of memory available for the Java
platform implementation and associated applications." It would be
interesting to find out how Javasoft subsetted Java to do it.
As it stands at the moment, I don't even know if I'm allowed to look
at the CLDC specification.
Andrew.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /