source: trunk/libs/newlib/src/libgloss/arc/nano.specs @ 634

Last change on this file since 634 was 444, checked in by satin@…, 7 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 557 bytes
Line 
1%rename link                nano_link
2%rename link_gcc_c_sequence                nano_link_gcc_c_sequence
3
4*nano_libc:
5-lc_nano
6
7*nano_libgloss:
8%{specs=nsim.specs:-lnsim} %{specs=nosys.specs:-lnosys}
9
10*link_gcc_c_sequence:
11%(nano_link_gcc_c_sequence) --start-group %G %(nano_libc) %(nano_libgloss) --end-group
12
13*link:
14%(nano_link) %:replace-outfile(-lc -lc_nano) %:replace-outfile(-lg -lg_nano) %:replace-outfile(-lstdc++ -lstdc++_nano) %:replace-outfile(-lsupc++ -lsupc++_nano)
15
16*lib:
17%{!shared:%{g*:-lg_nano} %{!p:%{!pg:-lc_nano}}%{p:-lc_p}%{pg:-lc_p}}
18
Note: See TracBrowser for help on using the repository browser.