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=-lotherlib 'compiling against a DLL in a another package' is alright, but resolving the DLL at runtime won't be trivial (unless you set explicit dependency of your package against this other one) ; so you might be better off compiling against a static build of the other with yours. Iago Mosqueira wrote: <snipped> > Many thanks for the information. I am trying to make a package C code > compile against a DLL already present in another package, so I need to > include its location in the call to gcc. I'll see what the most > portable system could be and will test widely. > > Regards, > > > Iago Mosqueira > > ______________________________________________ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel