To: djgpp AT delorie DOT com Subject: Re: 32-bit filenames Message-ID: <19961231.090639.4879.1.chambersb@juno.com> References: <32C03E84 DOT 5662 AT cse DOT unsw DOT edu DOT au> From: chambersb AT juno DOT com (Benjamin D Chambers) Date: Mon, 30 Dec 1996 12:02:33 EST On Tue, 24 Dec 1996 12:35:16 -0800 Someone writes: >Hello all, > Having programmed with BorlandC for 5 years, I recently moved into >GCC. Since GCC is 32-bit, I was wondering whether it would be possible >to write a shell program which would allow the listing and i/o of >32-bit >filenames. Sure, eight bytes easily fits into DOS's 8.3 filename format. Filenames are formed of strings, and strings aren't limited by register size the way that integers are. It's the operating system, DOS, that doesn't allow long filenames - however, GCC will, if you are running in an environment that supports them (ie, you can't use long file names under MS-DOG 6, but you can under Lose95). If your OS supports LFN, just set the variable LFN=y in the djgpp.env. Be careful not to move this file, or to change any other settings - it's possible to _really_ mess up your installation if you do. ...Chambers GNU C: _NOW_ You're Playing with _POWER_ :)