Properly building newlib to install spec files

Orlando Arias orlandoarias@gmail.com
Mon Jan 7 22:13:00 GMT 2019


On 1/5/19 4:19 PM, Mojca Miklavec wrote:
> $ msp430-elf-gcc -mmcu=msp430g2211 -specs=nosys.specs -o test.elf test.c
> msp430-elf-gcc: error: nosys.specs: No such file or directory

Greetings,

The nosys.specs file is not included with builds of newlib for the
msp430-elf target since 17 Dec 2015. The patch that removed it can be
found in [1]. As the commit message suggests, this is because I/O
hardware is handled through CIO which talks to the simulator.

Cheers,
Orlando.

[1] https://sourceware.org/ml/newlib/2015/msg00926.html



More information about the Newlib mailing list