Am 25.05.2012 08:41, schrieb Kyle McKay: > CFLAGS='-O2 -arch x86_64 -arch i386 -arch ppc' \ > ./configure --disable-dependency-tracking
Thank you very much. On Snow Leopard, I tried > CC='gcc-4.2' CFLAGS='-arch ppc -arch ppc64 -arch i386 -arch x86_64 > -mmacosx-version-min=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk/' > ./configure --disable-dependency-tracking && make clean all and > CC='gcc-4.0' CFLAGS='-arch ppc -arch i386 -mmacosx-version-min=10.4 -isysroot > /Developer/SDKs/MacOSX10.4u.sdk/' ./configure --disable-dependency-tracking > && make clean all Both seems to work well and produces universal binaries for 4/2 architectures. May I ask: is it clever to statically link to libusbx? Has the interface between libusbx and the OS X kernel changed much over the years? Will the above binaries (compiled against 10.4 or 10.5) work on the latest OS X? Or is there any compile-time magic that prevents libusb compiled on 10.4/10.5 from working on latest OS X? Kind Regards, Sven ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel