On Fri, 30 Oct 2009 20:32:30 +0100 Barry Wardell <barry.ward...@gmail.com> wrote:
> On Fri, Oct 30, 2009 at 5:51 PM, Rafaël Carré > <rafael.ca...@gmail.com>wrote: > > > open$unix_2003 or something like that? > > > > These were the kind of errors that were affecting the compile of > beastpatcher and were fixed by splitting the compiling and linking > into two steps. > > The specific error, I get when compiling libusb with -arch ppc is: > > /bin/sh ./libtool --mode=link g++ -g -O2 -arch ppc -o libusbpp.la ^^^^^^^^^ > -rpath /usr/local/lib -version-info 8:4:4 -release 0.1 -export-dynamic > -Wl,-framework -Wl,IOKit -Wl,-framework -Wl,CoreFoundation > -Wl,-prebind -no-undefined -lusb -Wl,-seg1addr,0x01676000 usbpp.lo > g++ -dynamiclib -single_module -o .libs/libusbpp-0.1.4.4.4.dylib > .libs/usbpp.o /Users/barry/Rockbox/libusb/libusb-0.1.12/.libs/libusb.dylib > -Wl,-framework -Wl,IOKit -Wl,-framework -Wl,CoreFoundation > -Wl,-prebind -Wl,-seg1addr -Wl,0x01676000 -install_name > /usr/local/lib/libusbpp-0.1.4.dylib -compatibility_version 9 > -current_version 9.4 libtool removes -arch for some reason, typing the g++ command line with -arch ppc should work -- Rafaël Carré
signature.asc
Description: PGP signature