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
\documentclass[uplatex, dvipdfmx, b5j]{jsarticle} | |
\usepackage{bxpapersize} | |
\usepackage[right=91mm]{geometry} | |
\usepackage[dvipdfmx]{hyperref} | |
\usepackage{pxjahyper} | |
\title{} | |
\author{} | |
\date{} |
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
#以下の設定でbison, nkf, sl, nyancatがビルドできた | |
#bison, nkf, sl, nyancat were successfully built with following settings: | |
export SDKROOT=$(xcrun --sdk iphoneos --show-sdk-path) | |
export VER_MIN=11.2 | |
export CC=$(xcrun --sdk iphoneos --find clang) | |
export CXX=$(xcrun --sdk iphoneos --find clang++) | |
export LD=$(xcrun --sdk iphoneos --find ld) | |
export AR=$(xcrun --sdk iphoneos --find ar) |
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
#include <iostream> | |
#include <unistd.h> | |
using namespace std; | |
int main(void){ | |
if(getuid() == 0){ | |
cout << "You are root." << endl; | |
}else | |
cout << "You are not root." << endl; |
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
#LICENSE: retain the following license | |
#BSD 3-Clause "New" or "Revised" License | |
#and this: https://github.com/leetal/ios-cmake/blob/master/LICENSE.md | |
#Tested on LLVM 6.0.0 and Clang 6.0.0 | |
#using XCode 9.1, iOS11.1 SDK | |
#make build directory | |
mkdir llvm-clang-ios |