- if tc.verbose_level > 0 then
- verbose = "-"
- for i in [1..tc.verbose_level] do verbose = verbose + "v"
+ if tc.verbose_level == 1 then
+ verbose = "-v"
+ else if tc.verbose_level >= 2 then
+ # We catch tc.verbose_level >= 2, since 3+ is not valid with gccx
+ verbose = "-vv"
f.write("CLIBDIR=\"{tc.clibdir.as(not null)}\"\n")
f.write("{tc.bindir.as(not null)}/gccx {verbose} -d {compdir} -I $CLIBDIR {include_dirs.join(" ")}")
if tc.output_file != null then
f.write(" -o {tc.output_file.as(not null)}")
else if tc.ext_prefix.is_empty then
f.write("CLIBDIR=\"{tc.clibdir.as(not null)}\"\n")
f.write("{tc.bindir.as(not null)}/gccx {verbose} -d {compdir} -I $CLIBDIR {include_dirs.join(" ")}")
if tc.output_file != null then
f.write(" -o {tc.output_file.as(not null)}")
else if tc.ext_prefix.is_empty then