Skip to content

build-thirdparty.sh has bad gcc link #232

@0xSSoul

Description

@0xSSoul

Describe the bug
build-thirdparty.sh assume gcc is in /bin/gcc if there is no palo-toolchain/gcc. But, in many Linux distribution gcc is in /usr/bin/gcc. Actually, if default gcc is used, use "gcc" directly from PATH.

To Reproduce
Steps to reproduce the behavior:

  1. build-thirdparty.sh
  2. See error
    ./build-thirdparty.sh: line 114: /bin/gcc: No such file or directory

Expected behavior

Screenshots

Desktop (please complete the following information):

  • OS: Ubuntu
  • Version: 16.04

Additional context
After fix #231

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions