Liaw, Andy
2004-Feb-13 13:08 UTC
[R] Windows dll compilation (mingw32): how to find R.h and ot her head er files when sketching short functions
I thought Rcmd SHLIB mycode.c should take care of that, no? Andy> From: Paul Hewson > > Sorry, this seems like a particularly stupid question, but > here goes. It > relates to some "sketching" work I'm doing under Windoze. > > I can only get my C code to find R.h and friends if I shift > these header > files files and folders into the analogous mingw32 folders. > This seems a > rather clumsy way of doing things, and I wondered what I've > missed? (I'm > using the gcc -02 etc. commands as per Venables and Ripley's > S Programming - > which works fine. However, having a duplicate set of header > files doesn't > seem too elegant) > > I have no problem compiling (other peoples) packages from > source, but my own > code isn't quite ready to be packaged yet. > > Thanks for any pointers. > > Paul > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > Paul Hewson tel. (01392) 382773 > Data Analyst and Research Officer > > Road Safety Team, Environment Directorate, > Devon County Council, > 1st Floor, Lucombe House, > County Hall > Topsham Road > Exeter EX2 4QW > > tel (01392) 382773 fax (01392) 382135 > email phewson at devon.gov.uk > devon.gov.uk/roadsafe > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > stat.math.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > R-project.org/posting-guide.html > >------------------------------------------------------------------------------ Notice: This e-mail message, together with any attachments,...{{dropped}}
Reasonably Related Threads
- Windows dll compilation (mingw32): how to find R.h and other head er files when sketching short functions
- Incompleteness in Lattice documentation (was Re: lattice question: adding slopes to bwplot)
- chron is.weekend() function
- Cross-compilers versus windows compilers (was optimal win dows R machine)
- CRAN task view: Multivariate