Paul Hewson
2004-Feb-13 12:37 UTC
[R] Windows dll compilation (mingw32): how to find R.h and other head er files when sketching short functions
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 www.devon.gov.uk/roadsafe
Peter Dalgaard
2004-Feb-13 12:53 UTC
[R] Windows dll compilation (mingw32): how to find R.h and other head er files when sketching short functions
Paul Hewson <PHewson at devon.gov.uk> writes:> 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.Are you looking for the -I option to gcc ? -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
Possibly Parallel Threads
- Windows dll compilation (mingw32): how to find R.h and ot her head er files when sketching short functions
- Cross-compilers versus windows compilers (was optimal win dows R machine)
- chron is.weekend() function
- Incompleteness in Lattice documentation (was Re: lattice question: adding slopes to bwplot)
- CRAN task view: Multivariate