On 09/04/2014 12:38 AM, Tom Zicarelli wrote:
> Turned out to be basically the same as rtl-sdr:
> 
> in hackrf source tree:
> 
> cd host/libhackrf
> mkdir build
> cd build
> cmake .. -DCMAKE_OSX_ARCHITECTURES=i386 -DINSTALL_UDEV_RULES=ON
I'm fairly confident that MacOSX doesn't use udev, so you can probably
skip the -DINSTALL_UDEV_RULES=ON bit.

Thanks,
Zero

> make
> 
> This puts 32 bit library files in: src/ subfolder of build
> 
> 
> On Sep 3, 2014, at 8:51 PM, Tom Zicarelli <[email protected]> wrote:
> 
>> Hi,
>>
>> Have been running hackrf in Mac Os 10.9.4 using macports (built with the 
>> following command)
>>
>> sudo port install gr-osmosdr +full
>>
>> The libhackrf libraries are 64 bit - because that is the native architecture 
>> of the machine. I would like to recompile some of the command line tools 
>> with a 32 bit library to use for building objects for Max/msp and Pd. With 
>> rtlsdr, you could run cmake with this flag to get a 32 bit library on a 64 
>> bit machine:
>>
>> cmake ../ -DCMAKE_OSX_ARCHITECTURES=i386 
>>
>> Is there a similar thing that can be done to make a 32 bit libhackrf.a?
>>
>> Thanks,
>>
>> Tom
>>
>> _______________________________________________
>> HackRF-dev mailing list
>> [email protected]
>> http://nine.pairlist.net/mailman/listinfo/hackrf-dev
> 
> 
> 
> 
> _______________________________________________
> HackRF-dev mailing list
> [email protected]
> http://nine.pairlist.net/mailman/listinfo/hackrf-dev
> 


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
HackRF-dev mailing list
[email protected]
http://nine.pairlist.net/mailman/listinfo/hackrf-dev

Reply via email to