Filenames differing in case (was GCC on a Mac HFS filesystem)

Tom Tromey tromey@redhat.com
Wed Apr 11 15:44:00 GMT 2001


>>>>> "Joe" == Joe Buck <jbuck@racerx.synopsys.com> writes:

>> We already have 
>> *	libffi/src/mips/n32.S
>> *	libffi/src/mips/n32.s
>> *	libffi/src/mips/o32.S
>> *	libffi/src/mips/o32.s

>> This causes some warnings when using CVS on cygwin, but fortunately the
>> files aren't used.

Joe> What if someone wants to build a cross-compiler with a mips
Joe> target?

I agree this should be fixed.

My suggestion is to copy *.S to *.s (if you look at the .s files
you'll see they are just #include <> anyway), update Makefile.am, and
make sure to pass `-x assembler-with-cpp' to the gcc invocation (we
know only gcc will be used to build libffi) somehow.  (You might think
we could just use *.S but I think that is unreliable.  I've found in
practice that sometimes the case of a file can seemingly randomly be
changed on NT at least.)

I would do this but as it turns out I don't immediately have a
convenient way to test this.  Maybe eventually I'll build a cross
toolchain to try it.  I'd rather someone who builds on the right sort
of machine regularly do it though.

Tom



More information about the Gcc mailing list