RFC: architecture define probably masks variable names in header files

Kelly O'Hair Kelly.Ohair at Sun.COM
Thu Jan 24 02:35:40 UTC 2008


the native code is usually in the src/solaris, src/windows, src/linux, and
src/share directories. But to be safe you might want to create a complete
list from the root of the repository forest with:

    find . -type f -name \*.c -o -name \*.h -o -name \*.cpp -o -name \*.hpp

Maybe with a little divide and conquer, do hotspot separate from the jdk directories?

-kto

Christian Thalinger wrote:
> On Wed, 2008-01-23 at 11:04 -0800, Kelly O'Hair wrote:
>> I very much suspect that this -D$(ARCH) could be removed with no consequences.
>> The difficult part would be verifying it.
>>
>> C macros are a very powerful tool, but some of the global names we have chosen
>> over the years have come back to haunt us. :^(
> 
> Can someone tell me where these defines are used?  Roughly, in which
> part of the code.  Will a simple grep get me to the correct solution?
> 
> - twisti
> 



More information about the build-dev mailing list