Re: [Rd] SHLIB steps on a Makefile

2007-12-22 Thread Prof Brian Ripley
On Sat, 22 Dec 2007, Hin-Tak Leung wrote: > Hmm, I don't think you need a whole Makefile - while it is a > bit complicated to set locations, etc, essentially if your C code > needs an extra DLL (well, you'll have to bundle it with your package, > etc because the otherwise link-loader won't find it

Re: [Rd] SHLIB steps on a Makefile

2007-12-22 Thread Hin-Tak Leung
Hmm, I don't think you need a whole Makefile - while it is a bit complicated to set locations, etc, essentially if your C code needs an extra DLL (well, you'll have to bundle it with your package, etc because the otherwise link-loader won't find it), it is mostly just in Makevars.win PGK_LDGLAGS=-

Re: [Rd] SHLIB steps on a Makefile

2007-12-20 Thread Iago Mosqueira
On Dec 20, 2007 11:23 PM, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: > On Thu, 20 Dec 2007, Iago Mosqueira wrote: > > > Hi, > > > > I need to create a Makefile.win for a given package so as to fiddle > > slightly with the compilation process. My Makefile works fine in Linux > > That's rather dang

Re: [Rd] SHLIB steps on a Makefile

2007-12-20 Thread Prof Brian Ripley
On Thu, 20 Dec 2007, Iago Mosqueira wrote: > Hi, > > I need to create a Makefile.win for a given package so as to fiddle > slightly with the compilation process. My Makefile works fine in Linux That's rather dangerous: we have had lots of trouble with packages for which the Makefile works on the

Re: [Rd] SHLIB steps on a Makefile

2007-12-20 Thread Simon Urbanek
Iago, On Dec 20, 2007, at 4:49 PM, Iago Mosqueira wrote: > I need to create a Makefile.win for a given package so as to fiddle > slightly with the compilation process. My Makefile works fine in > Linux but I am having trouble creating Makefile.win for MinGW. I > first looked at the commands

[Rd] SHLIB steps on a Makefile

2007-12-20 Thread Iago Mosqueira
Hi, I need to create a Makefile.win for a given package so as to fiddle slightly with the compilation process. My Makefile works fine in Linux but I am having trouble creating Makefile.win for MinGW. I first looked at the commands that Rcmd SHLIB appeared to be running and copied those onto the Ma