Patch: GC mach_dep file extensions

Jeff Sturm jsturm@one-point.com
Wed Feb 13 19:51:00 GMT 2002


On 13 Feb 2002, Tom Tromey wrote:
> Bryce> Hans pointed out that ".S", not ".s" is the correct extension
> Bryce> for some asm files because it means "put this through the
> Bryce> preprocessor first".  I've checked in this patch.
> 
> I think it is a little better to arrange to run these with `-x
> assembler-with-cpp'.

It needs to work with Sun's cc as well.  (I suspect gcc uses the inline
version and doesn't need this source at all.)

> My reason is that on case-insensitive file
> systems, `.S' and `.s' will appear the same.

I think anyone with a case-insensitive file system doesn't need to build
sparc_mach_dep.o.  Either they are not targetting sparc or they are using
gcc as a cross compiler.

Jeff



More information about the Java-patches mailing list