>>>> Vin Shelton writes:
Recently (I assume due to the 1.5.19 release of cygwin), the output
of
'gcc -print-file-name=libc.a' changed from
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../lib.a
to
/bin/../lib/gcc/i686-pc-cygwin/3.4.4/../../../libc.a
changing the effective path from /usr/lib to /lib. This change
means
that the somewhat hokey way we were finding the noX version of the XPM
include files (and lib) no longer works, yielding compilation errors
in scrollbar-msw.c:
gcc -c -I/bin/../lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/noX
-g -O3 -Wall -Wno-switch -Winline -Wmissing-prototypes -Wsign-compare -fno-strict-aliasing
-Wshadow -Wpointer-arith -Demacs -I. -DHAVE_CONFIG_H -Wno-sign-compare -fno-caller-saves
scrollbar-msw.c
In file included from console-msw.h:40,
from scrollbar-msw.c:29:
/usr/include/X11/xpm.h:71:63: simx.h: No such file or directory
The attached patch works for me. Volker, please review. I will
probably apply this to the 21.4 branch before 21.4.19 is released.
Something must be screwed up on your system, I get
gcc -print-file-name=libc.a
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../libc.a
mount
D:\bin on /usr/bin type system (binmode)
D:\lib on /usr/lib type system (binmode)
D: on / type system (binmode)
c: on /c type system (binmode,noumount)
e: on /e type system (binmode,noumount)
o: on /o type system (binmode,noumount)
A similar patch is needed for 21.5.
- Vin
Ciao
Volker