harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Yershov" <dmitry.yers...@gmail.com>
Subject Re: [classlib] porting to other platforms
Date Tue, 25 Jul 2006 10:07:30 GMT
At first, all assembler files should be propagated to the 64bit platforms. e.g.:

<classlib>/modules/luni/src/main/native/thread/linux/thrspinlock.s
<classlib>/modules/luni/src/main/native/thread/linux/thrhelp.s
or
<classlib>/modules/luni/src/main/native/thread/windows/thrspinlock.asm
<classlib>/modules/luni/src/main/native/thread/windows/thrhelp.asm

Thanks, Dmitry.

2006/7/25, Marina Goldburt <marina.v.goldburt@gmail.com>:
> Hi,
>
> I'm interested in the task of porting classlib to the 64bit platform
> (em64t/amd64).
> At this moment, classlib's source structure and build system doesn't support
> the diversity of platforms.
> 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.
>
>

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


Mime
View raw message