Re: sfront on RH7

From: John Lazzaro (lazzaro@cs.berkeley.edu)
Date: Thu Feb 22 2001 - 22:14:09 EST


> I might have missed a few line endings.

Here's a handy program to do it automatically:

http://ccrma-www.stanford.edu/~craig/utility/flip/

> If I handle the preprocessing by hand, and run sfront with my
> preprocessed orchestra my score works fine. The c source file is
> written, the code compiles, and the program runs.

This sounds like the sort of error that's much easier for me to
debug if I had the file -- email me a copy and I'll track it down.
But first, just to be sure, edit the file in emacs, and type
shift-alt-> (i.e. the shift, alt, and '>' keys simulatenously) --
does the cursor end at the end of a full line? If so, the file
doesn't actually end in a newline, try adding it in and seeing
if it helps ... it could be that the option set you use when you
hand-process the files is different than what sfront uses, and
that your version adds in the newline, sfront does a:

gcc -P -nostdinc -x c++ -E -o

                                                        --jl

-------------------------------------------------------------------------
John Lazzaro -- Research Specialist -- CS Division -- EECS -- UC Berkeley
lazzaro [at] cs [dot] berkeley [dot] edu www.cs.berkeley.edu/~lazzaro
-------------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Mon Jan 28 2002 - 11:46:42 EST