This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Providing default option to GAS through gcc driver
- From: "Mohamed Shafi" <shafitvm at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 1 Mar 2007 11:42:14 +0530
- Subject: Providing default option to GAS through gcc driver
Hello all,
I would like to know if there is any way to control the gcc driver
program to pass a default option to the assembler if no option/switch
is given.
say
-march=arch1
if no -march option is provided by the user.
The macro TARGET_OPTION_TRANSLATE_TABLE does something like this but
with this, one can only override the option and cannot provide one if
none is given
Is there anyway to do this?
Regards,
Shafi.