This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcc/doschk.c



> Is the file gcc/doschk.c used for anything in GCC?  If not, does it belong
> here?  There is, for example, another version in the src repository,
> src/utils/misc/doschk/doschk.c.

The doschk master is doschk-1.1.tar.gz on the FSF ftp sites (on the
non-gnu side).  There is no need to keep it in any of the
repositories.

Maintainers are encouraged to use doschk on files they add to the
repository, to see any potential conflicts caused by the 8.3 file
limit.  While not an official policy to support such systems (in fact,
even djgpp's gcc is built on a system that supports long file names),
if there is little or no cost in such support there are some benefits
to doing so.

You get reports like this:

./.cvsignore - file name cannot start with dot

The following resolve to the same DOS file names:
BUILTIN-.DEF   : ./builtin-attrs.def
                 ./builtin-types.def
FLOAT-I3.H     : ./config/float-i32.h
                 ./config/float-i386.h

doschk also tests for uniqueness on old unixes with 14-character
limits, like this:

The following resolve to the same SysV file names:
FSFChangeLog.1 : ./FSFChangeLog.10
                 ./FSFChangeLog.11
unwind-dw2-fde : ./unwind-dw2-fde.c
                 ./unwind-dw2-fde.h

The following file names are too long for SysV:
cris_abi_symbo : ./config/cris/cris_abi_symbol.c
irix6-libc-com : ./config/mips/irix6-libc-compat.c
stormy16-lib2. : ./config/stormy16/stormy16-lib2.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]