Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:3988] Csound5 - Cygwin

Date2004-01-23 06:55
From"Michael Gogins"
Subject[CSOUND-DEV:3988] Csound5 - Cygwin
I have committed some minor changes in csound5 to get csound.exe to build on
Cygwin. It now does build, but not the utilities or plugin opcodes yet.

This is not the simplified autotools build system I have been talking about.
I plan to get more of csound5 building on Cygwin in the current directories
with the current configure.in and makefile.in before attempting to introduce
the simplified build system, because I need to understand the existing
autoconf tests better. I don't want to break anything on the other
platforms.

I found that AC_CHECK_LIB does not seem to work very well for portaudio or
winmm, both of which are required on Cygwin. Therefore, I added checks for
the headers (windows.h and portaudio.h) instead. I also added some flags to
configure.in to get a Windows console executable for csound.

Date2004-01-23 19:28
Fromramsdell@mitre.org (John D. Ramsdell)
Subject[CSOUND-DEV:3994] Re: Csound5 - Cygwin
"Michael Gogins"  writes:

> I found that AC_CHECK_LIB does not seem to work very well for
> portaudio or winmm, both of which are required on Cygwin.

The problem you have with winmm might be the one I ran into.  The way
I debugged the problem was to capture the C code used to generate the
test.  I bet you will find that by adding

#include 

the test will do the right thing.  This include file seems to know how
to demangle extern'ed C++ identifiers so that C programs correctly
link to library routine exported by winmm.

John