Why would I want to remove (rm) the file. I am trying to compile it.
For the file hello2.c
/* hello.c: display a message on the screen */
#include
main()
{
printf("hello, world\n");
}
I used gcc hello2.c and it works fine.
But fort eh file hello.c
#include
void hello(int *n)
{
I recently bought a new macbook pro 10.6.3 and I am trying to compile some C
code I have. I reinstalled R and Xcode on the Mac but I keep running into
the same problem.
The code help.c
#include
void hello(int *n)
{
int i;
for(i=0; i < *n; i++) {
Rprintf("Hello, world!\n");
}
}
I try R C
When I try
$ rm hello.o hello.so
I get the error
-bash: $: command not found
What does that mean?
--
View this message in context:
http://r.789695.n4.nabble.com/make-Nothing-to-be-done-for-all-tp2173220p2173679.html
Sent from the R help mailing list archive at Nabble.com.
___
Hi,
I just bought new macbook pro 10.6.3. I am trying to use some old c code
that used to work. I tried to recompile the code. In the directory with
code I used R CMD SHLIB hello.c and get the error
make: Nothing to be done for `all'.
I have tried reinstalling Xcode and R but I am still hav
4 matches
Mail list logo