Mail Archives: cygwin-developers/1998/07/27/15:10:10
Hi all,
Why would this be necessary?
-gjn
----- Forwarded message from Risto Laanoja <risto DOT laanoja AT eyp DOT ee> -----
From: "Risto Laanoja" <risto DOT laanoja AT eyp DOT ee>
To: <noer AT cygnus DOT com>
Subject: b19.1 libwinspool bug
Date: Mon, 27 Jul 1998 11:52:30 +0300
Hello,
libwinspool.a should be linked with the following commandline:
dlltool --as=as -k --dllname winspool.drv .....
^^^
in order to work also in WinNT. I found unresolved complains about
this problem also in cygwin mailing list.
I fixed this with adding explicit rule in Makefile.in
.....
> libwinspool.a: sysdef/@SYSDEF_DIR@/winspool.def
> $(DLLTOOL) --as=$(AS) -k --dllname winspool.drv --output-lib
libwinspool.a --def $<
>
lib%.a: sysdef/@SYSDEF_DIR@/%.def
$(DLLTOOL) --as=$(AS) -k --dllname $*.dll --output-lib lib$*.a --def
$<
not so beautiful but works for me. I tested it in WinNT 4.0 sp3 and
Win95 OSR2
Regards,
Risto
----
Risto Laanoja
risto DOT laanoja AT eyp DOT ee
phone:+372-6104404 fax:+372-6104452
- Raw text -