This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re[2]: winsup/mkvers.sh


Hello,

> It sounds like you're fixing the symptom rather than the problem.
>
> In what situations is $dir empty?  It is never supposed to be empty.

I Found it first in 20000105 snapshot. But error is still there (20000108).
Look at Makefile.in and mkvers.sh:
Makefile.in:
: winver_stamp: mkvers.sh include/cygwin/version.h winver.rc $(DLL_OFILES)
:               @echo "Making version.o and winver.o";\
:               $(SHELL) ${word 1,$^} ${word 2,$^} ${word 3,$^} $(WINDRES); \
mkvers.sh:
: incfile="$1"                ( $incfile=="include/cygwin/version.h" )
: dir=`dirname $incfile`      ( $dir=="include/cygwin" )
: dir=`echo $dir | sed -e 's%/include/cygwin.*$%%' -e 's%include/cygwin.*$%%'`
                              ( $dir=="" )
: $windres --include-dir $dir/../w32api/include ....
                         ^^^^^^^^^^^^^^^^^^^^^^
                         =="/../w32api/include

So no paths will be added to standard include path.
At work I have very old snapshot which have old winapi headers ( and
doesn't have winver.h.
Look at winver.rc:
: #include <winver.h>

At home I have 20000105 installed so error doesn't appear.

That's all




Best regards,
Alexey Voinov
voins@caravan.ru



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]