Subversion Repositories QNX 8.QNX8 LLVM/Clang compiler suite

Rev

Rev 19 | Rev 21 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 19 Rev 20
Line 55... Line 55...
55
                "       $(echo "${REQUIRED_TOOLS}"|sed 's/ /\n  /g')" \
55
                "       $(echo "${REQUIRED_TOOLS}"|sed 's/ /\n  /g')" \
56
                "Please install them (possibly as binary packages with apt-get) and try again." \
56
                "Please install them (possibly as binary packages with apt-get) and try again." \
57
                "More specifically, the following tool was not found: '${REQUIRED_TOOL}'"
57
                "More specifically, the following tool was not found: '${REQUIRED_TOOL}'"
58
done
58
done
59
 
59
 
60
# verify that the symlinks are deployed in the SDK -- just test one of them
60
# verify that the symlinks are deployed in the SDK -- just test one of them in each relevant directory ($QNX_HOST for the tools, $QNX_TARGET for the sysroot)
61
if [ ! -e "${QNXSDK_PATH}/${QNXSDK_TARGETPATH}/usr/include/readline.h" ]; then
61
if [ ! -e "${QNXSDK_PATH}/${QNXSDK_HOSTPATH}/usr/bin/gcc" ] || [ ! -e "${QNXSDK_PATH}/${QNXSDK_TARGETPATH}/usr/include/readline.h" ]; then
62
        print_error_and_die \
62
        print_error_and_die \
63
                "Error: the toolchain platform-specific symbolic links have not been deployed in this QNX SDK. Please run" \
63
                "Error: the toolchain platform-specific symbolic links have not been deployed in this QNX SDK. Please run" \
64
                "(on a POSIX machine:)" \
64
                "(on a POSIX machine:)" \
65
                "       cd ${QNXSDK_PATH}" \
65
                "       cd ${QNXSDK_PATH}" \
66
                "       find . -name symlinks.lst -exec ./symlinks.sh {} create \\; && printf 'present' > .symlinks-state" \
66
                "       find . -name symlinks.lst -exec ./symlinks.sh {} create \\; && printf 'present' > .symlinks-state" \