Commit 4e0f1c3c by Michael Pastushkov

mac apps

parent 84253885
...@@ -60,7 +60,7 @@ You will need the [Command Line Tools for Xcode](https://developer.apple.com/xco ...@@ -60,7 +60,7 @@ You will need the [Command Line Tools for Xcode](https://developer.apple.com/xco
``` ```
$ uname -mrs $ uname -mrs
Darwin 12.5.0 x86_64 Darwin 19.6.0 x86_64
$ git clone https://git.dynamixsoftware.com/michaelpastushkov/bytevia.git $ git clone https://git.dynamixsoftware.com/michaelpastushkov/bytevia.git
$ cd bytevia $ cd bytevia
...@@ -70,69 +70,26 @@ $ ./bytevia --version ...@@ -70,69 +70,26 @@ $ ./bytevia --version
$ ./bytevia --help $ ./bytevia --help
$ file bytevia $ file bytevia
bytevia: Mach-O 64-bit executable x86_64 bytevia: Mach-O 64-bit executable x86_64
```
### For Mac OS X (Homebrew)
Thanks to [Edward Samson's](https://github.com/esamson) [pull request](https://github.com/Homebrew/homebrew/pull/23977), you can also use [Homebrew](http://brew.sh/) to install bytevia under Mac OS X.
```
$ uname -mrs
Darwin 12.5.0 x86_64
$ brew --version
0.9.5
$ brew update
$ brew info bytevia
$ brew install bytevia
$ bytevia --version
$ bytevia --help
$ file $(which bytevia)
/usr/local/bin/bytevia: Mach-O 64-bit executable x86_64
```
### For Windows (Cygwin)
You will need the Cygwin environment for Windows from http://www.cygwin.com/ with the following additional packages installed:
* gcc
* git
* make
``` ```
$ uname -a
CYGWIN_NT-6.1-WOW64 computer 1.7.25(0.270/5/3) 2013-08-31 20:39 i686 Cygwin
$ git clone https://git.dynamixsoftware.com/michaelpastushkov/bytevia.git
$ cd bytevia
$ ./configure
$ make
$ ./bytevia --version
$ ./bytevia --help
$ file bytevia.exe
bytevia.exe: PE32 executable (console) Intel 80386, for MS Windows
```
### For Windows (MinGW32) ### For Windows (MinGW32)
You will need MinGW32 to cross-compile bytevia. Please see http://www.mingw.org/ for more details. If you are using a Debian-based distribution then you will need to install the following packages: You will need MinGW32 to cross-compile bytevia. Please see http://www.mingw.org/ for more details.
* mingw32
* mingw32-binutils
* mingw32-runtime
``` ```
$ apt-get install mingw32 mingw32-binutils mingw32-runtime $ sudo apt-get install gcc-mingw-w64
$ git clone https://git.dynamixsoftware.com/michaelpastushkov/bytevia.git $ git clone https://git.dynamixsoftware.com/michaelpastushkov/bytevia.git
$ cd bytevia $ cd bytevia
$ ./configure $ ./configure
$ make -f Makefile.MinGW32 $ make -f Makefile.MinGW32
$ file bytevia.exe $ file dist/bytevia_windows_32.exe
bytevia.exe: PE32 executable (console) Intel 80386, for MS Windows dist/bytevia_windows_64.exe: PE32+ executable (console) x86-64, for MS Windows
$ file dist/bytevia_windows_64.exe
dist/bytevia_windows_32.exe: PE32 executable (console) Intel 80386, for MS Windows
``` ```
Note: The MinGW32-based version does not support the fork-based concurrent client handling. If you need this feature under Windows, then you should use the Cygwin-based version. Note: The MinGW32-based version does not support the fork-based concurrent client handling.
## ChangeLog ## ChangeLog
......
#!/bin/bash
/usr/bin/open -a Terminal "`dirname \"$0\"`/bytevia_mac_intel"
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleExecutable</key>
<string>run</string>
<key>CFBundleIdentifier</key>
<string>net.p4pn.bytevia</string>
<key>CFBundleName</key>
<string>bytevia_mac_intel</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
</dict>
</plist>
#!/bin/bash
/usr/bin/open -a Terminal "`dirname \"$0\"`/bytevia_mac_silicon"
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleExecutable</key>
<string>run</string>
<key>CFBundleIdentifier</key>
<string>net.p4pn.bytevia</string>
<key>CFBundleName</key>
<string>bytevia_mac_intel</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
</dict>
</plist>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment