I have a mysterious problem. Like this thread 
<https://groups.google.com/forum/#!searchin/tup-users/rtags/tup-users/AfP0ouHRqGY/7y2OOg0zDAAJ>,
 
I'm trying to use rtags. I'm just doing it myself because it seemed easier. 
Here's a stripped down version of the relevant rule:

: t/test.c |> rc -c clang -c %f 1>&2 |>

Here's test.c. It compiles no problem.
int main(void)
{
return 0;
}

The output I get from tup looks like this:
* 5) path/to/files: rc -c clang -c t/test.c 1>&2                           
                                          
 *** tup errors ***
 *** Command ID=3000 failed with return value 1

There's no indication of what the failure was, nothing on stdout, and 
nothing on stderr.

Here's the confusing part: If I copy and paste the command from the tup 
output, it runs fine and the return value is 0. Why would this be?

I know rc can communicate with the rdm server, because if I quit the server 
then rc prints an error and tup shows it. I can also get rc to print all of 
the server's symbols from within tup.

I'm not sure what else to try or how to figure out why it won't work. Any 
ideas?

Thanks!

-- 
-- 
tup-users mailing list
email: [email protected]
unsubscribe: [email protected]
options: http://groups.google.com/group/tup-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"tup-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to