Rev 12 | Rev 14 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 12 | Rev 13 | ||
---|---|---|---|
Line 52... | Line 52... | ||
52 | " $(echo "${REQUIRED_TOOLS}"|sed 's/ /\n /g')" \ |
52 | " $(echo "${REQUIRED_TOOLS}"|sed 's/ /\n /g')" \ |
53 | "Please install them (possibly as binary packages with apt-get) and try again." \ |
53 | "Please install them (possibly as binary packages with apt-get) and try again." \ |
54 | "More specifically, the following tool was not found: '${REQUIRED_TOOL}'" |
54 | "More specifically, the following tool was not found: '${REQUIRED_TOOL}'" |
55 | done |
55 | done |
56 | 56 | ||
57 | # verify that the symlinks are deployed in the SDK -- just test one of them |
57 | # 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) |
58 | if [ ! -e "${QNXSDK_PATH}/${QNXSDK_TARGETPATH}/usr/include/readline.h" ]; then |
58 | if [ ! -e "${QNXSDK_PATH}/${QNXSDK_HOSTPATH}/usr/bin/gcc" ] || [ ! -e "${QNXSDK_PATH}/${QNXSDK_TARGETPATH}/usr/include/readline.h" ]; then |
59 | print_error_and_die \ |
59 | print_error_and_die \ |
60 | "Error: the toolchain platform-specific symbolic links have not been deployed in this QNX SDK. Please run" \ |
60 | "Error: the toolchain platform-specific symbolic links have not been deployed in this QNX SDK. Please run" \ |
61 | "(on a POSIX machine:)" \ |
61 | "(on a POSIX machine:)" \ |
62 | " cd ${QNXSDK_PATH}" \ |
62 | " cd ${QNXSDK_PATH}" \ |
63 | " find . -name symlinks.lst -exec ./symlinks.sh {} create \\; && printf 'present' > .symlinks-state" \ |
63 | " find . -name symlinks.lst -exec ./symlinks.sh {} create \\; && printf 'present' > .symlinks-state" \ |