libftdi Archives

Subject: Re: libftdi-1.0: Fixing up build on Mac OS X

From: Emmanuel Blot <>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Mon, 14 Jun 2010 13:20:36 +0200
> Ok with that. How does Darwin handle 64-bit? Is Apple still using
> "universal binaries" like the used to
> when they supported different processors?

Yes they do. A single executable unit can contains several versions of
the binary code (powerpc, powerpc_64, i386, x86_64).
However this patch will only build one of the version (32-bit or
64-bit), not both at once.
I guess it could be improved to build a universal binary, but I never
tried building one with CMake.

>>  * it adds a missing dependency: Boost, which may not be found in the
>> default include header paths, depending on the installation
> Boost is only needed by the C++ wrapper.


> Does this also work if we move the
> "+include_directories(${Boost_INCLUDE_DIRS})" part
> to the Boost specific code in ftdipp/CMakeLists.txt?

I suppose so, I could give a try.


libftdi - see for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx

Current Thread