Changes between Version 2 and Version 3 of howto/ShareArchives
- Timestamp:
- Jun 25, 2008, 3:26:22 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
howto/ShareArchives
v2 v3 24 24 }}} 25 25 === Install the archive on the __target__ machine === 26 Now if you look on your __source__ machine in {{{ ${prefix}/var/macports/packages/darwin/${arch} }}} (where ${arch} is either ''i386'' or ''powerpc'') you should find a file named {{{sqlite3-x.x.x_x.i386.tgz}}}. (The x's are the version number.) Copy that file to the same location on your __target__ machine. Now on the __target__ do:26 Now if you look on your __source__ machine in {{{ ${prefix}/var/macports/packages/darwin/${arch} }}} (where ${arch} is either ''i386'' or ''powerpc'') you should find a file named {{{sqlite3-x.x.x_x.i386.tgz}}}. (The x's are the version number.) Copy that file to the same location on your __target__ machine. Now on the __target__ do: 27 27 {{{ 28 28 sudo port unarchive sqlite3 … … 38 38 == Share archives between '''different''' architectures == 39 39 40 '''WARNING!!! ''' Sharing archives between different architectures could, in theory, seriously '''b0rk''' your system! You have been warned!40 '''WARNING!!! ''' Sharing archives between different architectures could, in theory, seriously '''b0rk''' your system! You have been warned! 41 41 42 42 Now, here's the fun part. Say you have an ''i386'' machine and a ''powerpc'' machine. Chances are that the ''i386'' machine is a fair bit faster. But you can't share binaries between them... or can you? Thanks to the '''+universal''' variant, it's possible. Here's a good primer on [[wiki:howto/buildUniversal building universal binaries]].