Re: [Rd] problem in compililng c code using R CMD SHLIB

From: Simon Urbanek <>
Date: Wed, 06 Jun 2012 09:20:55 -0400

On Jun 6, 2012, at 6:16 AM, Arathy Ram wrote:

> Hello all,
> I was trying to compile a simple C program hello.c using R CMD SHLIB
> hello.c.
> MY R software residing in C:\Program Files\R\R-2.15.0, and also I have
> downloaded the Rtools 2.15.0 and it is in C:\Rtools, MY file(hello.c) is in
> E:\R_dir.
> I have followed the procedures given below
> 1. In a new CMD.exe window I have set the path as
> c:\ Rtools\bin; C:\Rtools\MinGW\bin;C:\Program Files\R\R-2.15.0\bin
> 2. I have changed the directory to E:\ where my file(hello.c) is residing
> E:\>cd \R_dir
> then I have given the command like this
> E:\>cd \R_dir> R CMD SHLIB hello.c
> Then I am getting the following message
> cygwin warning:
> MS-DOS style path detected: E:/PROGRA~1/R/R-214~1.0/etc/
> i386/Makeconf
> Preferred POSIX equivalent is:
> /cygdrive/e/PROGRA~1/R/R-214~1.0/etc/i386/Makeconf
> CYGWIN environment variable option "nodosfilewarning" turns off this
> warning.
> Consult the user's guide for more details about POSIX paths:
> Even though I have gone through several discussions in the same topic I am
> not able to resolve my problem. It would be a great help if somebody knows
> what exactly the problem and its solution and favorable suggestions.

There is no problem in what you posted - all you posted is merely a note from cygwin that it prefers different path style, but it's perfectly ok and doesn't affect anything. So what exactly is the problem you're having?

Simon mailing list Received on Wed 06 Jun 2012 - 13:23:47 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 Wed 06 Jun 2012 - 18:12:06 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive