jdk/src/solaris - time to re-visit it?

Ulf Zibis Ulf.Zibis at gmx.de
Mon Nov 28 16:32:48 UTC 2011


Additionaly I think, 'share' should be replaced by 'common'.
'share', as a verb, seems ugly along 'posix', 'winapi' to me.

-Ulf


Am 28.11.2011 17:20, schrieb Fredrik Öhrström:
> 2011-11-28 16:46, Ulf Zibis skrev:
>> I guess you meant:
>> --shared
>> --posix
>>         |--SYSV
>>         |    |--solaris
>>         |    |--aix
>>         |
>>         |--gnu
>>         |    |--linux
>>         |    |
>>         |--BSD
>>              |--darwin
>>              |--freebsd
>>
>> --winapi
>>       |--win32
>>       |--wince
>>
>> against current ...
>> --share
>> --linux
>> --solaris
>> --windows
>>
> The directory structure ought to be more flat than
> the possible combinations that form a product.
>
> For example if:
> HOST_API = posix winapi
> HOST_OS = solaris aix gnu linux darwin freebsd windows wince
> HOST_OS_PEDIGREE = SYSV GNU BSD
>
> then the directories are stored flat under src:
>
> --src
>       |--share
>       |--posix
>       |--winapi
>       |--SYSV
>       |--GNU
>       |--BSD
>       |--solaris
>       |--aix
>       |--gnu
>       |--linux
>       |--darwin
>       |--freebsd
>       |--windows
>       |--wince
>
> Then, when compiling, the union of the directories and files below
> the selected src subdirectories, form the source of the product.
> For example:
>      share,posix,BSD,darwin
>      share,posix,GNU,linux
>      share,posix,GNU,gnu
>      share,winapi,windows
>
> This gives less confusion about which subdirs to src/posix
> are configuration directories, and which are posix directories with code.
>
> //Fredrik
>



More information about the build-dev mailing list