| > Has anyone gotten around to porting csound
> to a PC running BSDI?
I "ported" the Linux version 3.46 to FreeBSD. It's a little bit quick and
dirty.
diffs for the Makefile:
43c43
< CFLAGS = -O $(DEFINES)
---
> CFLAGS = -O2 $(DEFINES) -I/usr/X11R6/include
66c66
< LIBS = -L/usr/X11R6/lib/elf -lX11 -lbsd -lm
---
> LIBS = -L/usr/X11R6/lib -lX11 -lm
245,246c245,246
< -rm $(LIB)/libcsound.a
< cp csound.a $(LIB)/libcsound.a
---
> # -rm $(LIB)/libcsound.a
> # cp csound.a $(LIB)/libcsound.a
In the Makefiles "makef" in anal/* you have to change
cc $(CFLAGS) -o hetro $(OBJS) -L/usr/X11R6/lib/elf -lX11 -lm
^^^^
to
cc $(CFLAGS) -o hetro $(OBJS) -L/usr/X11R6/lib -lX11 -lm
In aiff.c, soundin.c and wave.c you have to emulate the tell() call:
#define tell(fd) lseek(fd, 0, SEEK_CUR)
Put this in a header file and include it or do anything with it ;-)
Not very nice this instructions but sooner or later I will do a real FreeBSD
port.
Oliver
--
best things in life are free |