Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:3610] -mno-cygwin and csound4 on win2k, autoconf

Date2003-12-02 23:27
Fromsteven
Subject[CSOUND-DEV:3610] -mno-cygwin and csound4 on win2k, autoconf
Hi all,

Using -mno-cygwin with the autoconf build there is an error I get that 
holds up the build in main.c:

#if defined(HAVE_FLTK) && (defined(LINUX) || defined(SGI) || defined(sol))
    if (sig == SIGALRM) return;
#elif defined(FLTK_GUI) && (!defined(_MSC_VER))
    if (sig == SIGALRM) return;
#endif

I've gotten past it with:

#if !defined(WIN32)
#if defined(HAVE_FLTK) && (defined(LINUX) || defined(SGI) || defined(sol))
    if (sig == SIGALRM) return;
#elif defined(FLTK_GUI) && (!defined(_MSC_VER))
    if (sig == SIGALRM) return;
#endif
#endif

but am not quite sure this is best. 

The reason the first set of #ifdef's doesn't compile with -mno-cygwin is 
that I don't believe there is a SIGALRM native to windows.  If using 
Cywin but not using -mno-cygwin, cygwin has emulation for SIGALRM, so if 
WIN32 is defined but cygwin is being used, then SIGALRM won't be 
compiled in at this section if using the second set of #ifdef's.   I'm 
not confident I know exactly what is the best way to reorder this stuff, 
so any help on this is greatly appreciated.

thanks,
steven

Date2003-12-03 12:05
Fromramsdell@mitre.org (John D. Ramsdell)
Subject[CSOUND-DEV:3618] Csound GNU build system testers wanted
The latest GNU build system in the csound module builds and installs
the same set of programs the original makefile installs.  The build
system is know to work on RedHat 9, RedHat 7.3, and MinGW, but I'd
like to see it tested on at least Cygwin and Mac OSX.  To facilitate
testing on other platforms, I've made a distribution available here:

http://www.ccs.neu.edu/home/ramsdell/tools/csound-4.23a3.tar.gz

Thanks in advance for your help.

John

Date2003-12-03 12:15
Fromramsdell@mitre.org (John D. Ramsdell)
Subject[CSOUND-DEV:3619] Re: Csound GNU build system testers wanted
I forgot to share with you the listing of the RPM built by Csound GNU
build system.  A listing of it follows.

John

$ rpmquery -l -p ~/rpm/RPMS/i386/csound-4.23a3-1.i386.rpm 
/usr/bin/csound
/usr/bin/cvanal
/usr/bin/dnoise
/usr/bin/envext
/usr/bin/extract
/usr/bin/extractor
/usr/bin/hetro
/usr/bin/lpanal
/usr/bin/mixer
/usr/bin/pvanal
/usr/bin/pvlook
/usr/bin/scale
/usr/bin/scot
/usr/bin/scsort
/usr/bin/sdif2ad
/usr/bin/sndinfo
/usr/bin/srconv
/usr/include/csound/autoheader.h
/usr/include/csound/config.h
/usr/include/csound/cscore.h
/usr/include/csound/csound.h
/usr/include/csound/cwindow.h
/usr/include/csound/opcode.h
/usr/include/csound/sysdep.h
/usr/lib/debug
/usr/lib/debug/usr
/usr/lib/debug/usr/bin
/usr/lib/debug/usr/bin/csound.debug
/usr/lib/debug/usr/bin/cvanal.debug
/usr/lib/debug/usr/bin/dnoise.debug
/usr/lib/debug/usr/bin/envext.debug
/usr/lib/debug/usr/bin/extract.debug
/usr/lib/debug/usr/bin/extractor.debug
/usr/lib/debug/usr/bin/hetro.debug
/usr/lib/debug/usr/bin/lpanal.debug
/usr/lib/debug/usr/bin/mixer.debug
/usr/lib/debug/usr/bin/pvanal.debug
/usr/lib/debug/usr/bin/pvlook.debug
/usr/lib/debug/usr/bin/scale.debug
/usr/lib/debug/usr/bin/scot.debug
/usr/lib/debug/usr/bin/scsort.debug
/usr/lib/debug/usr/bin/sdif2ad.debug
/usr/lib/debug/usr/bin/sndinfo.debug
/usr/lib/debug/usr/bin/srconv.debug
/usr/lib/libcscore.a
/usr/lib/libcscore.la
/usr/lib/libcsound.a
/usr/lib/libcsound.la
/usr/share/csound/csound.xmg
/usr/share/doc/csound-4.23a3
/usr/share/doc/csound-4.23a3/AUTHORS
/usr/share/doc/csound-4.23a3/COPYING
/usr/share/doc/csound-4.23a3/ChangeLog
/usr/share/doc/csound-4.23a3/INSTALL
/usr/share/doc/csound-4.23a3/NEWS
/usr/share/doc/csound-4.23a3/README
$ 

ramsdell@mitre.org (John D. Ramsdell) writes:

> The latest GNU build system in the csound module builds and installs
> the same set of programs the original makefile installs.  The build
> system is know to work on RedHat 9, RedHat 7.3, and MinGW, but I'd
> like to see it tested on at least Cygwin and Mac OSX.  To facilitate
> testing on other platforms, I've made a distribution available here:
> 
> http://www.ccs.neu.edu/home/ramsdell/tools/csound-4.23a3.tar.gz
> 
> Thanks in advance for your help.
> 
> John