Re: R-beta: makefile command line for recreating dynload demo dll

Douglas Steele (Douglas@dsteele.demon.co.uk)
Mon, 8 Jun 1998 23:35:33 +0100


Date: Mon, 8 Jun 1998 23:35:33 +0100
To: Guido Masarotto <guido@sirio.stat.unipd.it>
From: Douglas Steele <Douglas@dsteele.demon.co.uk>
Subject: Re: R-beta: makefile command line for recreating dynload demo dll
In-Reply-To: <19980608184331.A2673@sirio.stat.unipd.it>

In message <19980608184331.A2673@sirio.stat.unipd.it>, Guido Masarotto
<guido@sirio.stat.unipd.it> writes
>The enclosed makefile does the job with egcs-mingw32. I suppose
>that it should (+/-) work also with the cygnus version of gcc

Many thanks.

I have tried running it and with a few changes it gets as far as...

$(DLL) -Wl,--base-file,0.b $(DLLFLAGS) $($*-DLLFLAGS) -o $@  $*.a \
    0.o $($*-DLLLIBS) $(DLLLIBS)

with...

gcc -mdll -Wl,--base-file,0.b -s -o zero.dll zero.a 0.o libiR.a

libcmain: undefined ref to WinMain@16

at which point I cann't get further.  Any ideas ?


-- 
Douglas Steele
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._