discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] volk build issues on Cygwin


From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] volk build issues on Cygwin
Date: Sat, 5 Mar 2011 19:53:56 -0500

On Fri, Mar 4, 2011 at 7:52 PM, Don Ward <address@hidden> wrote:
Due mainly to circumstances beyond my control, it is now possible to build the volk library on Cygwin :-).  Previously, there was no support for C99 complex data types in the Cygwin library, but this was fixed by the release of Cygwin 1.7.8-1 this past Tuesday.

The remaining issues can be addressed by patches or workarounds:

(1) configure fails while testing for -lboost_unit_test_framework because of the presence of  "-Wl,--enable-runtime-pseudo-reloc" in LDFLAGS.  I'm not sure why it is a problem, but I don't think these flags are needed at all in this situation.

(2) C++ libraries are not found because volk/config/gcc_version_workaround.m4 specifies -nostdinc++ without knowing where to find the libraries on Cygwin.  My suggestion is to exempt Cygwin from the action of gcc_version_workaround.m4.

Changes to fix both of these (for Cygwin, anyway) are in the attached patch file.

(3) volk_16i_x4_quad_max_star_16i_a16.h triggers an internal compiler error in the Cygwin gcc 3.4.4-999.  One workaround is to remove "-O2" from the Makefile.  (An obvious suggestion is to use a newer compiler, but the last time I tried it Cygwin gcc 4.x couldn't handle the exceptions generated while looking for a working circular buffer strategy.  I will check again from time to time to see if the latest compiler works.)

The bottom line is that we can now build volk (and the GNU Radio 'next' branch) on Cygwin.

-- Don W.


Excellent, Don, thanks!

Tom
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]