mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-02-23 10:40:17 +00:00
Build instructions for tap-mac.
This commit is contained in:
parent
64bc0e4929
commit
2133984318
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,4 +1,5 @@
|
|||||||
/ext/llvm-g++-Xcode4.6.2
|
/ext/llvm-g++-Xcode4.6.2
|
||||||
|
/ext/llvm-g++-Xcode4.6.2.tar.bz2
|
||||||
/zerotier-*
|
/zerotier-*
|
||||||
/build-ZeroTierUI-*
|
/build-ZeroTierUI-*
|
||||||
/ZeroTierUI/*.user
|
/ZeroTierUI/*.user
|
||||||
|
12
BUILDING.txt
12
BUILDING.txt
@ -18,6 +18,18 @@ make -f Makefile.linux
|
|||||||
|
|
||||||
Edit Makefile.linux if you want to change between debug or release build.
|
Edit Makefile.linux if you want to change between debug or release build.
|
||||||
|
|
||||||
|
If you are building ext/tap-mac you will need a different version of the
|
||||||
|
OSX gcc compiler chain than what currently ships (clang). We've got a copy
|
||||||
|
available here:
|
||||||
|
|
||||||
|
http://download.zerotier.com/dev/llvm-g++-Xcode4.6.2.tar.bz2
|
||||||
|
|
||||||
|
Un-tar this into ext/ (it's excluded in .gitignore) and then 'make' in
|
||||||
|
ext/tap-mac/tuntap/src/tap.
|
||||||
|
|
||||||
|
Most users should not need to build tap-mac, since a binary is included
|
||||||
|
in ext/bin.
|
||||||
|
|
||||||
-- Windows
|
-- Windows
|
||||||
|
|
||||||
Here be dragons.
|
Here be dragons.
|
||||||
|
@ -29,8 +29,8 @@ LDFLAGS = -Wall -mkernel -nostdlib -r -lcc_kext -arch i386 -arch x86_64 -Xlinker
|
|||||||
|
|
||||||
#CCP = g++
|
#CCP = g++
|
||||||
#CC = gcc
|
#CC = gcc
|
||||||
CCP = $(HOME)/Code/llvm-g++-Xcode4.6.2/bin/llvm-g++
|
CCP = ../../../../llvm-g++-Xcode4.6.2/bin/llvm-g++
|
||||||
CC = $(HOME)/Code/llvm-g++-Xcode4.6.2/bin/llvm-gcc
|
CC = ../../../../llvm-g++-Xcode4.6.2/bin/llvm-gcc
|
||||||
|
|
||||||
all: $(KMOD_BIN) bundle
|
all: $(KMOD_BIN) bundle
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user