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.
hmm...

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
IBM



---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to