When trying make check RUNTESTFLAGS="--target_board='unix/{,-fstack-protector/--param=ssp-buffer-size=4}'" I've noticed all gnat.dg tests fail as gnatmake doesn't pass through --param options. I see it already special cases (most of) -m*, -f*, -g* etc. options, could it do the same for --param? As -f*, -m* options are passed to both, I think --param should go to both compiler and linker (assuming it is gcc driver) for consistency. In any case, --param can be either in --param=varname=value form, or --param varname=value form (i.e. --param alone as one option and next argument its parameter) and gnatmake should handle both.
-- Summary: gnatmake doesn't pass through --param options Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jakub at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38874