Re: [CM] s7 with c

2016-05-18 Thread bil
I think your problem is that you have a space after -Wl, -- it'a all one argument: -Wl,-export-dynamic ___ Cmdist mailing list Cmdist@ccrma.stanford.edu https://cm-mail.stanford.edu/mailman/listinfo/cmdist

[CM] s7 with c

2016-05-18 Thread James Hearon
Hi, I'm stuck on figuring out compiling a simple s7 repel test in c. I'm on fedora 23. I've tried a few different things but not sure what /usr/bin/ld error is trying to tell me. gcc error: /usr/bin/ld: cannot find : No such file or directory //gcc -o repel_test repel_test.c s7.o -Wl, -e

Re: [CM] negative number in cond

2016-05-18 Thread bil
By the way, you can use s7's lint to find problems like this. If I run your code through lint, among other things it prints out: ... ruby4 (line 56): perhaps (and (>= -6 theslope) (<= theslope -10)) -> (<= theslope -10) ... and finally (after complaining about dead code in cond): ruby4 (line

Re: [CM] negative number in cond

2016-05-18 Thread bil
(I accidentally deleted the original, and there's no undelete in this mailer), but I think your problem is that in both these cases, you're not getting a range: ((and (>= -6 theslope) (<= theslope -10)) ((and (>= 6 theslope) (<= theslope 10)) You get (<= theslope -10) in the first case -