
22 Jun
2006
22 Jun
'06
3:08 p.m.
kyra wrote:
GHC HEAD:
SysTools.runCc dflags ( -- force the C compiler to interpret this file as C when -- compiling .hc files, by adding the -x c option. -- Also useful for plain .c files, just in case GHC saw a -- -x c option. [ SysTools.Option "-x", SysTools.Option "c"] ++ ...
This completely breaks my build infrastructure. Could it be reversed?
The reason for this change is that you can now say $ ghc -x c foo.wibble -c and have foo.wibble treated as a .c file by GHC. To fix this properly we should have a C++ compiler phase in DriverPipeline, it wouldn't be too hard. Care to submit a bug report with this info? Cheers, Simon