This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Old bug: the 14-character limit.
> 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.
Note that some archive formats (ar) have object name length limits.