https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63901

--- Comment #4 from Nick Clifton <nickc at redhat dot com> ---
Hi Peter,

> In mspgcc, TI provided a CSV file that listed every device along with all
> its characteristics.  This is still present in the GCC header bundle TI
> provides.  This in turn was processed to produce a specs fragment that
> provided rules to default all the -m* flags from a specific -mmcu= value.

Could the tool that converted the CSV file into a spec fragment be altered so
that it produces the relevent -mhwmult= option based upon an MCU input ?  Ie
would it be possible to provide the users with a tool that takes an MCU name,
reads in the CSV file and outputs the correct -mhwmult option ?  Somthing like: 

  msp430-elf-gcc `gen-hwmult-opt -mmcu=foo` 

If the tool was stand-alone then it would not need to be updated when the CSV
file changes, and it could work with any CSV file, old or new.

Cheers
  Nick

PS. I have applied the patch to the newlib sources so that at least that part
of the problem is resolved for now.

Reply via email to