-pgmc/a/l default options, other ideas
Krasimir Angelov
kr.angelov at gmail.com
Fri Jan 5 11:25:17 EST 2007
> > I can imagine that we might need 'cl-options' in addition to 'cc-
> > options', though.
>
> If the purpose of -ccflavour is to encapsulate any number of
> different C compilers, then it would be easier and more general to
> add 'cc-flavour' to BuildInfo than to add, say:
>
> cl-options MS CL
> scc-options Sun 'CC' compiler (overlaps 'cc-options')
> xlc-options IBM XL/C compiler
> ...
but having different fields for CL and GCC will tell to Cabal to use
the cl-options field for Windows and cc-options for Linux. With
cc-flavour you will force Cabal to always use CL which is unavailable
under Linux.
Cheers,
Krasimir
More information about the Cvs-ghc
mailing list