We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is just a follow up after hitting this issue on Devel-NYTProf
Perl/perl5#17948 timbunce/devel-nytprof#139
When Perl is configured with -Dcpp=$GCC -E, the resulting $Config{cpp} is just $GCC, which is very much probably not what you want.
-Dcpp=$GCC -E
$Config{cpp}
$GCC
You probably want $Config{cpprun} which contains the arguments required for $GCC to function as a C PreProcessor.
$Config{cpprun}
FFI-TinyCC/lib/FFI/TinyCC.pm
Line 318 in e922eec
The text was updated successfully, but these errors were encountered:
$Config{cpprun} does seem to be more correct with clang as well:
clang
✅ starscream% perl -V:cpp cpp='cpp'; ✅ starscream% perl -V:cpprun cpprun='clang -E';
(/usr/bin/cpp being the Gnu C preprocessor on my Debian system)
Sorry, something went wrong.
Thanks for the suggestion. Updated and released as 0.30.
No branches or pull requests
This is just a follow up after hitting this issue on Devel-NYTProf
Perl/perl5#17948
timbunce/devel-nytprof#139
When Perl is configured with
-Dcpp=$GCC -E
, the resulting$Config{cpp}
is just$GCC
, which is very much probably not what you want.You probably want
$Config{cpprun}
which contains the arguments required for$GCC
to function as a C PreProcessor.FFI-TinyCC/lib/FFI/TinyCC.pm
Line 318 in e922eec
The text was updated successfully, but these errors were encountered: