www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/07/27/15:10:10

From: noer AT cygnus DOT com (Geoffrey Noer)
Subject: [risto DOT laanoja AT eyp DOT ee: b19.1 libwinspool bug]
27 Jul 1998 15:10:10 -0700 :
Message-ID: <19980727215222.C31708.cygnus.cygwin32.developers@cygnus.com>
Mime-Version: 1.0
To: cygwin32-developers AT cygnus DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019