This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo add-apt-repository ppa:ubuntu-toolchain-r/test | |
sudo apt-get update | |
sudo apt-get install gcc-4.9 g++-4.9 | |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.9 | |
# if you are embeded arm system, try use the following states | |
# sudo update-alternatives --install /usr/bin/arm-linux-gnueabihf-gcc arm-linux-gnueabihf-gcc /usr/bin/arm-linux-gnueabihf-gcc-4.9 60 --slave /usr/bin/arm-linux-gnueabihf-g++ arm-linux-gnueabihf-g++ /usr/bin/arm-linux-gnueabihf-g++-4.9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- src/openvpn/options.c.orig 2012-12-17 17:36:07.000000000 +0800 | |
+++ src/openvpn/options.c 2013-03-07 23:21:26.230153027 +0800 | |
@@ -62,6 +62,10 @@ | |
#include "memdbg.h" | |
+extern char* _socket_obfs_salt; | |
+extern int _socket_obfs_salt_len; | |
+extern int _socket_obfs_padlen; | |
+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% LLA2ECEF - convert latitude, longitude, and altitude to | |
% earth-centered, earth-fixed (ECEF) cartesian | |
% | |
% USAGE: | |
% [x,y,z] = lla2ecef(lat,lon,alt) | |
% | |
% x = ECEF X-coordinate (m) | |
% y = ECEF Y-coordinate (m) | |
% z = ECEF Z-coordinate (m) | |
% lat = geodetic latitude (radians) |