1 Star 0 Fork 1

Embedded lib/can-utils

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
check_cc.sh 283 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0-only
# check_cc.sh - Helper to test userspace compilation support
# Copyright (c) 2015 Andrew Lutomirski
CC="$1"
TESTPROG="$2"
shift 2
if [ -n "$CC" ] && $CC -o /dev/null "$TESTPROG" -O0 "$@"; then
echo 1
else
echo 0
fi
exit 0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/embedded-lib/can-utils.git
git@gitee.com:embedded-lib/can-utils.git
embedded-lib
can-utils
can-utils
master

搜索帮助