objcopy.test

来自「奇趣公司比较新的qt/emd版本」· TEST 代码 · 共 25 行

TEST
25
字号
#!/bin/shTEST_PATH=`dirname $0`SEP_DEBUG_SUPPORT=noCOMPILER=$1VERBOSE=$2echo "int main() { return 0; }" > objcopy_test.cppif $TEST_PATH/which.test objcopy >/dev/null 2>&1 && $COMPILER -g -o objcopy_test objcopy_test.cpp >/dev/null 2>&1; then    objcopy --only-keep-debug objcopy_test objcopy_test.debug >/dev/null 2>&1 \        && objcopy --strip-debug objcopy_test >/dev/null 2>&1 \        && objcopy --add-gnu-debuglink=objcopy_test.debug objcopy_test >/dev/null 2>&1 \        && SEP_DEBUG_SUPPORT=yes firm -f objcopy_test objcopy_test.debug objcopy_test.cpp# doneif [ "$SEP_DEBUG_SUPPORT" != "yes" ]; then    [ "$VERBOSE" = "yes" ] && echo "Separate debug info support disabled."    exit 0else    [ "$VERBOSE" = "yes" ] && echo "Separate debug info support enabled."    exit 1fi

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?