This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Adding machine type cmdline args


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]