[Hackrf-dev] how to build 32 bit version of libhackrf in Macports
Tom Zicarelli
tkzic at megalink.net
Thu Sep 4 00:38:48 EDT 2014
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
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nine.pairlist.net/pipermail/hackrf-dev/attachments/20140904/291ec4e8/attachment.html>
More information about the HackRF-dev
mailing list