-
Notifications
You must be signed in to change notification settings - Fork 635
Closed
Description
Using sccache-v0.2.15-x86_64-unknown-linux-musl, after symlinking:
$ ln -s sccache /usr/local/bin/gcc
I get this behavior
$ gcc
sccache: No command specified
sccache 0.2.15
USAGE:
sccache [FLAGS] [OPTIONS] [cmd]...
FLAGS:
--dist-auth authenticate for distributed compilation
--dist-status show status of the distributed client
-h, --help Prints help information
-s, --show-stats show cache statistics
--start-server start background server
--stop-server stop background server
-V, --version Prints version information
-z, --zero-stats zero statistics counters
OPTIONS:
--package-toolchain <executable> <out> package toolchain for distributed compilation
--stats-format <stats-format>
set output format of statistics [default: text] [possible values: text, json]
ARGS:
<cmd>...
Enabled features:
S3: true
Redis: true
Memcached: true
GCS: true
Azure: true
sccache still thinks it is being called as sccache, and not as gcc.
The "wrap-around" behavior works fine before linking
$ sccache gcc
gcc: fatal error: no input files
compilation terminated.
But on my Mac, the same sccache v0.2.15 works fine with gcc being symlinked to sccache:
$ gcc
clang: error: no input files
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels