Dear Torsten,
For the sake of syntax, I would suggest to use "--compiler-" as a prefix
to compiler options, so you could write things like
--compiler-warnshadow
--compiler-environment=MODULES
A generic way to specify compiler options sounds like a must-have to me.
Cheers,
raph
Torsten Anders wrote:
Dear Wolfgang,
thank you very much for this.
There are other compiler options not supported by ozmake either (e.g.,
all the warning options like --warnshadow). Could we perhaps add support
for arbitrary compiler options in a generic way? For example, we could
have an option --compileroptionsfile=PATH, where the text file at PATH
contains arbitrary compiler options which are all hand to the compiler
by ozmake. Of course, the users are responsible for what they are doing.
I thought a while about an option --compileroption=OPTION, where OPTION
is any compiler option and the option --compileroption could occur
multiple times. However, I couldn't come up with a suitable format this
late.. Easy cases would be boolean options like
--compileroption=warnshadow
However, I don't know how to handle compiler options which expect a list
of values...
--compileroption=environment=MODULES
BTW: any chance such changes to ozmake will make it into the main
repository?
Best
Torsten
_________________________________________________________________________________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users