Thanks to visit codestin.com
Credit goes to github.com

Skip to content

improve support for clang #16

@kazuho

Description

@kazuho

As of now, we have a code that emulates the behavior of gcc -wrapper in case clang (or other compiler) is being used.

However the argument parsing logic of the emulation is horrible; it just strips -o target and assumes that the last argument is the name of the source file. It is evident that such approach will fail in certain cases, e.g. when -Wl, is used after specifying the source file, or, when more than one source files are used.

We need to implement a better option parser like the one found in ccache or dist-cc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions