-
-
Notifications
You must be signed in to change notification settings - Fork 346
New issue
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
gcc: error: unrecognized command line option '-Wl' #320
Comments
The problem is that the Cantera SConstruct file thinks that commas are delimiters between different options, e.g. if you write As a workaround, you can specify this option in cxx_flags = ['-g', '-Wl,-z,relro', '-Wl,-z,now'] And of course the same applies for the other options for setting compiler/linker options. |
Thank you for reply. Do options set in |
It works the other way around: if you do not specify a value in the |
Although there is a workaround, I think it might be preferable to modify the parsing of these compiler options (currently handled by the
|
Hi again,
another issue that I do not know how to manage:
gcc
compiler does not recognize all-Wl
options.-Wp
, for example, is an option that I use often withgcc
/g++
compilers,-Wl,-z,relro
or-Wl,-z,now
with the linker; why are they not permitted on Cantera?Thanks.
The text was updated successfully, but these errors were encountered: