source: trunk/libs/newlib/src/libgloss/arm/elf-nano.specs @ 555

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

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

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