Paul Garceau wrote:
> On 22 Jun 2001, at 13:28, the Illustrious Waldemar Schultz wrote:
> > The ar.exe supplied with mingw32-1.0 seems to be broken,
> > it can not handle long filenames.
Oops, that was a lapsus typo, sorry. What I wanted to say is:
it can not handle long _command_lines_
while ar.exe from the DJGPP distro can.
Thanks for attention.
> Follows is a suggestion towards a possible workaround, not a fix.
> On Win98 you can try and add quotes around the long names (ass=
> you are using Win98 version of command.exe for your ms-dos prompt).
> Win98 can give you the long file names as well as the short ones if you
> simply type "dir" at your ms-dos prompt.
> On Win95, forget it, better to use djgpp since Win95 can't real=
> with long file names very well. ms-dos prompt
> (command.com/command.exe) under Win95 always forces 8.3 format within
> ms-dos prompt window/box processing. if ar.exe is attempting to invoke
> long file names (with or without quotes), those files will first be
> converted to 8.3 file format and then processed/archived as static
> Later, when you go to load the static lib you created using ar.=
> Win95 looks for the long-file names in the static lib itself.
> Since the long files names were converted before they were adde=
> the static lib (Win95 command.com/command.exe), the file names do not
> exist except as 8.3 formatted file-name references.
> This in turn causes linking errors.
> Not the fault of ar.exe, but the fault of Win95 ms-dos prompt, =
> suggestion to use djgpp. djgpp has a process enabled which reliably
> tracks both the long and the short file names.
> Possible solutions:
> Staying with Mingw, you would need to add the patch from the
> sourceforge project files site for Mingw, or b) revert (overwrite) your
> Mingw distribution with an earlier version of Mingw-gcc (2.95.3).
> gcc-2.95.3 from the Mingw project files site
> is the last "stable" release for Win95. Mingw-1.0 version is
> basically a "beta-release" for Win95. Mingw-1.0 works fine under
Gruss Waldemar Schultz. schultz@...
Technische Universit=E4t M=FCnchen, Zentrum Mathematik M1, D 80290 M=FCn=
Tel: +49 (0)89 2892 8226 FAX: +49 (0)89 2892 8228