Re: Properly building newlib to install spec files

Orlando Arias <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.