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

Douglas Steele Douglas at dsteele.demon.co.uk
Tue Jun 9 00:35:33 CEST 1998

In message <19980608184331.A2673 at sirio.stat.unipd.it>, Guido Masarotto
<guido at 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)


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

libcmain: undefined ref to WinMain at 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 at stat.math.ethz.ch

More information about the R-help mailing list