This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Old bug: the 14-character limit.
On Friday 23 May 2003 03:53 pm, DJ Delorie wrote:
> > Is there a documented upper limit on file name length for the gcc tree?
>
> I don't know of any hard limits, but as long as files are unique in
> the 8.3 characters (i.e. first 8 characters of the basename, first 3
> characters of the extension), even DJGPP won't care about the length.
>
> IIRC Windows has a hard upper limit on total path size, but I forget
> what it is. DJGPP's MAXPATH is 260 (for LFN; 80 for SFN), which is
> probably related to the Windows limit.
Some GNU/Linux systems use:
[root@wolf686 mszick]# stat -f /dev/hda
File: "/dev/hda"
ID: 0 0 Namelen: 255 Type: EXT2