help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: using MAKEFLAGS in compiling C code as a shared library for R


From: Faheem Mitha
Subject: Re: using MAKEFLAGS in compiling C code as a shared library for R
Date: Fri, 14 Jun 2002 01:27:35 -0400 (EDT)

On Fri, 14 Jun 2002, Paul D. Smith wrote:

> %% Faheem Mitha <address@hidden> writes:
>
>   fm> On Thu, 13 Jun 2002, Paul D. Smith wrote:
>
>   >> The simplest solution is to use backslashes to quote the spaces:
>   >>
>   >> MAKEFLAGS='CC=gcc-3.0 PKG_CFLAGS=\ -Wall\ -pedantic' R CMD SHLIB rc.c -o 
> rc.so
>   >>
>   >> will work (note the change to single quotes: if you must use double
>   >> quotes you'll have to type two backslashes to get one--see the
>   >> documentation for your shell).
>
>   fm> Thanks. This works. Am I correct in thinking this a shell issue?
>   fm> I am using bash, of course.
>
> Not really.
[exposition snipped]

Thanks. That makes things much clearer. I've forwarded your two messages
to the R people at address@hidden, and suggested they update
their FAQ to include an example of this syntax.

                                          Best regards, Faheem Mitha.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]