Re: preventing -m options being passed to the compiler

2007-06-20 Thread Andrew Pinski
On 6/20/07, Ben Elliston <[EMAIL PROTECTED]> wrote: To now answer my own question (for the benefit of others): the CC1_SPEC string can include the sequence % This is not a good way, the best way is to create a dumby -moption in the target.opt file so you get the documentation with --help. -- Pi

Re: preventing -m options being passed to the compiler

2007-06-19 Thread Ben Elliston
On Wed, 2007-06-20 at 10:44 +1000, Ben Elliston wrote: > I have a -m option that I am handling in a LIB_SPEC that I do not want > passed down to cc1. It seems that by default, the driver passes all -m > options to cc1. Is there a way to prevent that on a per-option basis? To now answer my own q

preventing -m options being passed to the compiler

2007-06-19 Thread Ben Elliston
I have a -m option that I am handling in a LIB_SPEC that I do not want passed down to cc1. It seems that by default, the driver passes all -m options to cc1. Is there a way to prevent that on a per-option basis? Thanks, Ben