From murdoch.duncan at gmail.com  Thu Mar 12 18:17:23 2015
From: murdoch.duncan at gmail.com (Duncan Murdoch)
Date: Thu, 12 Mar 2015 13:17:23 -0400
Subject: [Rd] Notes on building a gcc toolchain for Rtools (but not
	multilib)
In-Reply-To: <550099AC.8010309@gmail.com>
References: <2019630797.513208.1426100997515.JavaMail.root@fredhutch.org>
	<550099AC.8010309@gmail.com>
Message-ID: <5501CA23.2050000@gmail.com>

I've just uploaded a minor update (3.3.0.1957) to Rtools33, adding the 
cygpath.exe utility.  That utility converts between Windows style paths 
like D:/Rtools and Cygwin style paths like /cygdrive/d/Rtools.   It may 
be useful in configuration files if your external library expects to 
find gcc on the path, since Rtools no longer puts it there.  Assuming 
you want to use the Rtools toolchain, you can construct the path to the 
gcc directory in your Makevars.win file as

$(cygpath $(RTOOLS))gcc492_$(WIN)/bin

(where RTOOLS and WIN are macros from RHOME/etc/*/Makeconf that should 
already have been read.)

Thanks to JJ Allaire for the prompting on this.

Duncan Murdoch



[Rd] Notes on building a gcc toolchain for Rtools (but not multilib)
Duncan Murdoch