You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

nano.specs 740B

3 vuotta sitten
12345678910111213141516171819202122
  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. *cpp_unique_options:
  5. -isystem =/include/newlib-nano %(nano_cpp_unique_options)
  6. *nano_libc:
  7. -lc_nano
  8. *nano_libgloss:
  9. %{specs=rdimon.specs:-lrdimon_nano} %{specs=nosys.specs:-lnosys}
  10. *link_gcc_c_sequence:
  11. %(nano_link_gcc_c_sequence) --start-group %G %(nano_libc) %(nano_libgloss) --end-group
  12. *link:
  13. %(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)
  14. *lib:
  15. %{!shared:%{g*:-lg_nano} %{!p:%{!pg:-lc_nano}}%{p:-lc_p}%{pg:-lc_p}}