This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Adding machine type cmdline args
- To: "David Fiddes" <D dot J dot Fiddes at hw dot ac dot uk>
- Subject: Re: Adding machine type cmdline args
- From: Andreas Schwab <schwab at issan dot cs dot uni-dortmund dot de>
- Date: 21 Apr 1999 10:24:22 +0200
- Cc: <egcs at egcs dot cygnus dot com>
- References: <000001be8b21$c0ee31d0$1615c389@ma.hw.ac.uk>
"David Fiddes" <D.J.Fiddes@hw.ac.uk> writes:
|> /* Compile for ColdFire Multiply and ACcumulate unit */
|> #define MASK_MAC 4096
|> #define TARGET_MAC (target_flags & MASK_MAC)
|>
|> #define TARGET_SWITCHES \
|> <snip>
|>
|> { "mac", MASK_MAC}, \
|> { "no-mac", - MASK_MAC}, \
|>
|> this seems to allow egcs to recognise the new machine type but it doesn't
|> pass the -mmac option to as.
You need to change ASM_SPEC to include `%{mmac}'.
--
Andreas Schwab "And now for something
schwab@issan.cs.uni-dortmund.de completely different"
schwab@gnu.org