libftdi Archives

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

From: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Tue, 15 Jun 2010 11:46:25 +0200
Manu,

On Monday, 14. June 2010 13:20:36 Emmanuel Blot wrote:
> > 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.

Luckily there's a cmake FAQ for this:
http://www.cmake.org/Wiki/CMake_FAQ#How_do_I_build_universal_binaries_on_Mac_OS_X.3F

> > 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.

Do you want this to be part of 0.18?

Thomas

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread