Re: [Discuss-gnuradio] Compiler preprocessor defines

2008-11-04 Thread Ed Criscuolo
Michael Dickens wrote: The general way to do this is to create an m4 file with a 'case' in it based on the "$host_os", e.g. (as taken and expanded from grc_gr_audio_osx.m4; the case strings may or not be entirely correct, and are used as examples): - passed=yes [set some other glob

Re: [Discuss-gnuradio] Compiler preprocessor defines

2008-11-04 Thread Michael Dickens
The general way to do this is to create an m4 file with a 'case' in it based on the "$host_os", e.g. (as taken and expanded from grc_gr_audio_osx.m4; the case strings may or not be entirely correct, and are used as examples): - passed=yes [set some other global variables to expec

Re: [Discuss-gnuradio] Compiler preprocessor defines

2008-11-04 Thread Greg Troxel
Eric Blossom <[EMAIL PROTECTED]> writes: > On Mon, Nov 03, 2008 at 03:46:56PM -0500, Ed Criscuolo wrote: >> The tun/tap pseudo device is implemented very differently >> on OSX vs LINUX, UNIX, et al. > > OK. > > Take a look at how we handle the "Fast USB" technique selection. > See config/usrp_fus

Re: [Discuss-gnuradio] Compiler preprocessor defines

2008-11-03 Thread Eric Blossom
On Mon, Nov 03, 2008 at 03:46:56PM -0500, Ed Criscuolo wrote: > Eric Blossom wrote: >> On Mon, Nov 03, 2008 at 02:16:10PM -0500, Ed Criscuolo wrote: >>> Is there any preprocessor define (or defines) that can be used >>> when compiling C++ GnuRadio code to differentiate between >>> different OSs? I

Re: [Discuss-gnuradio] Compiler preprocessor defines

2008-11-03 Thread Ed Criscuolo
Eric Blossom wrote: On Mon, Nov 03, 2008 at 02:16:10PM -0500, Ed Criscuolo wrote: Is there any preprocessor define (or defines) that can be used when compiling C++ GnuRadio code to differentiate between different OSs? I've looked through config.h but didn't see anything obvious. I need to comp

Re: [Discuss-gnuradio] Compiler preprocessor defines

2008-11-03 Thread Eric Blossom
On Mon, Nov 03, 2008 at 02:16:10PM -0500, Ed Criscuolo wrote: > Is there any preprocessor define (or defines) that can be used > when compiling C++ GnuRadio code to differentiate between > different OSs? I've looked through config.h but didn't see > anything obvious. I need to compile two differe

[Discuss-gnuradio] Compiler preprocessor defines

2008-11-03 Thread Ed Criscuolo
Is there any preprocessor define (or defines) that can be used when compiling C++ GnuRadio code to differentiate between different OSs? I've looked through config.h but didn't see anything obvious. I need to compile two different pieces of code for OSX vs LINUX. @(^.^)@ Ed __