python - How to set compiler in waf -
i'm trying compile 3rd party software uses waf build tool. run problems immediately.
> python waf configure --prefix=install checking program 'g++, c++' : cc not determine compiler version ['cc', '-dm', '-e', '-']
the config.log file says (with crap deleted):
checking program 'g++, c++' cc ['cc', '-dm', '-e', '-'] out: no supported cpu target set, cray_cpu_target=x86-64 used. load valid targeting module or set cray_cpu_target err: cc-2130 crayc++: warning in command line "-d" commandline option unsupported. cc-2289 crayc++: error in command line invalid characters after option '-d' in command line item '-dm'. cc-2107 crayc++: error in command line no valid filenames specified on command line.
i don't know how debug waf scripts. have suggestions? guess have tell waf use gcc (or c++) compiler, can't figure out how tell waf that. waf has argument --check-cxx-compiler, doesn't appear work.
Comments
Post a Comment