mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
Get beastpatcher working on OSX.
I don't know why we need to split the compiling and linking steps on OSX, but this was the only way I could get static linking against libusb and libmtp to work. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23418 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a521c5fc67
commit
304fcbe633
2 changed files with 29 additions and 8 deletions
|
|
@ -41,10 +41,28 @@ After this, just type "make" to get a
|
|||
OS X
|
||||
----
|
||||
|
||||
[Not yet implemented]
|
||||
The OS X build is a universal binary statically linked with libusb and libmtp.
|
||||
It has been tested with libusb version 0.1.12 and libmtp version 1.0.1.
|
||||
|
||||
The OS X build is a universal binary statically linked with libusb and libmtp.
|
||||
The following files are expected the beaspatcher source directory:
|
||||
|
||||
Intel:
|
||||
libusb: usb.h libusb-i386.a
|
||||
libmtp: libmtp.h libmtp-i386.a
|
||||
|
||||
PowerPC:
|
||||
libusb: usb.h libusb-ppc.a
|
||||
libmtp: libmtp.h libmtp-ppc.a
|
||||
|
||||
These are easily compiled from source using the standard
|
||||
'./configure && make'. Look in .libs for libusb.a and src/.libs for libmtp.a,
|
||||
and make sure to rename them to their -i386/-ppc filenames when copying into
|
||||
the beastpatcher directory.
|
||||
|
||||
After this, just type "make beastpatcher-mac" to get a universal binary. If you
|
||||
only want a binary for a particular architecture, you can use
|
||||
"make beastpatcher-i386" or "make beastpatcher-ppc" instead. In this case, you
|
||||
only need the libusb and libmtp library for your desired architecture.
|
||||
|
||||
|
||||
Windows
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue