harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paulex Yang <paulex.y...@gmail.com>
Subject Re: [classlib] porting to other platforms
Date Tue, 25 Jul 2006 10:33:01 GMT
Marina Goldburt wrote:
> Hi,
> I'm interested in the task of porting classlib to the 64bit platform
> (em64t/amd64).
Thanks you! Welcome!
> At this moment, classlib's source structure and build system doesn't 
> support
> the diversity of platforms.

Do you mean VM or classlib? I'm not familiar with current VM(DRL, 
JCHEVM, BootJVM...)'s structure, but for classlib, IIRC we have 
discussed these issue before, and seems the agreement is to layout them 
into directories,

For example, the LUNI module has platform dependent natives, while 
Security has platform dependent java codes, they are layout as this:

src -- main -- java(native) -- share
                                        -- linux
                                        -- windows

> Let's discuss what changes have to be made to support other platforms.
> One way is to move platform-dependent to the appropriate directory. For
> example,
> port--linux --ia32
>                --em64t
>                --ipf
>               makefile

> and to add platform determination and proper files selection to the
> makefile.
> The other way is to select the platform-dependent code by the 
> preprocessor
> difine directives and to include the platform determination and the 
> difines
> setting to the top-level build files (unfortunatly it doesn't work 
> with asm
> files).
> Any thoughts?
> Thanks, Marina.

Paulex Yang
China Software Development Lab

Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org

View raw message