[Hackrf-dev] how to build 32 bit version of libhackrf in Macports
Tom Zicarelli
tkzic at megalink.net
Tue Sep 9 13:56:42 EDT 2014
Thanks Zero_Chaos,
Maybe off topic, but do you know of any Pentoo CD image that boots on recent Macbook Pro retina?
Btw., Really enjoyed Defcon 22 wireless village talks.
tz
On Sep 4, 2014, at 9:40 AM, Rick Zero_Chaos Farina <zerochaos at gentoo.org> wrote:
> 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 <tkzic at megalink.net> 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
>>> HackRF-dev at greatscottgadgets.com
>>> http://nine.pairlist.net/mailman/listinfo/hackrf-dev
>>
>>
>>
>>
>> _______________________________________________
>> HackRF-dev mailing list
>> HackRF-dev at greatscottgadgets.com
>> http://nine.pairlist.net/mailman/listinfo/hackrf-dev
>>
>
>
> _______________________________________________
> HackRF-dev mailing list
> HackRF-dev at greatscottgadgets.com
> http://nine.pairlist.net/mailman/listinfo/hackrf-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nine.pairlist.net/pipermail/hackrf-dev/attachments/20140909/a20fa211/attachment.html>
More information about the HackRF-dev
mailing list