[Rd] WIndows Makeconf masks user-specified zlib.h

From: Martin Morgan <mtmorgan_at_fhcrc.org>
Date: Sat, 24 Sep 2011 19:13:57 -0700

On windows under current R-devel (r57066), R CMD INSTALL, for instance, invokes gcc with -I"$(R_HOME)/include" prior to any user-defined include paths. This means that a package cannot specify an alternative zlib.h, as a (reduced) version of this is in $(R_HOME)/include.

One way around this is to redefine .o rules

%.o: %.c

        $(CC) $(MY_ZFLAGS) $(ALL_CPPFLAGS) $(ALL_CFLAGS) -c $< -o $@

Is there a better way? Can the ordering of the include search path be altered in src/gnuwin32/fixed/etc/Makeconf:160-161?


Computational Biology
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N. PO Box 19024 Seattle, WA 98109

Location: M1-B861
Telephone: 206 667-2793

R-devel_at_r-project.org mailing list
Received on Sun 25 Sep 2011 - 02:18:37 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 25 Sep 2011 - 08:30:34 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive