D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
thread-self
/
root
/
lib
/
modules
/
4.4.0-1128-aws
/
build
/
tools
/
testing
/
selftests
/
x86
/
Filename :
check_cc.sh
back
Copy
#!/bin/sh # check_cc.sh - Helper to test userspace compilation support # Copyright (c) 2015 Andrew Lutomirski # GPL v2 CC="$1" TESTPROG="$2" shift 2 if "$CC" -o /dev/null "$TESTPROG" -O0 "$@" 2>/dev/null; then echo 1 else echo 0 fi exit 0