Skip to content

No way to specify custom C and C++ compilers in configuration #13805

Closed
@mstewartgallus

Description

@mstewartgallus

There doesn't seem to be a way to specify custom C and C++ compiler in configuration.
As a bonus, if this is done then the --enable-clang and --enable-ccache flags can be thrown away.

Context: I need this capability because my system build of GCC is only at 4.6 (I'm using one of those really old long term support distributions) and I want to specify my custom build of GCC 4.9 so I can build the version of LLVM packaged with Rust. Yes, I could hack around this but it's simplest if Rust gains options to override the compilers.

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