Mail Archives: cygwin-developers/1998/09/15/08:42:28
TYann AT vet DOT com DOT au (Trevor Yann) writes:
> I had a little trouble building the latest snapshot.
>
> The makefile in the winsup directory contains:
>
> LIBGCC=${shell $(CC_FOR_TARGET) -print-libgcc-file-name}
>
> Unfortunately the gcc that I am using (Mumit's egcs 1.02) prints the
> following for the libgcc filename:
>
> D:\CYGNUS\B19\H-I386~1\lib\gcc-lib\i386-cygwin32\egcs-2.90.27\libgcc.a
>
> Note the backslashes, which are later interpreted as part of an escape
> sequence.
The following change to egcs-1.0.2 and newer causes the win32 style path:
Mon Mar 30 13:11:05 1998 Stan Cox <scox AT cygnus DOT com>
* gcc.c, cccp.c, cpplib.c, collect2.c (GET_ENVIRONMENT): Added.
cygwin32 can override this to allow both unix and win32 style PATHs.
* i386/xm-cygwin32.h (GET_ENVIRONMENT): Defined to allow win32
style environment paths.
Note that this also causes problems when you use gcc to extract the
dependencies, since make gets horribly confused when running in Unix
mode.
Fortunately, I never use win32 to build anything, including the
development tools, so it doesn't bother me ;-)
Regards,
Mumit
- Raw text -