source: rtems/c/src/lib/libbsp/sh/simsh4/bsp_specs @ 318d861

4.104.114.84.95
Last change on this file since 318d861 was a2ae30c2, checked in by Joel Sherrill <joel.sherrill@…>, on Aug 21, 2002 at 5:06:22 PM

2002-08-21 Joel Sherrill <joel@…>

  • bsp_specs: Added support for -nostdlibs.
  • Property mode set to 100644
File size: 610 bytes
Line 
1%rename cpp old_cpp
2%rename lib old_lib
3%rename endfile old_endfile
4%rename startfile old_startfile
5%rename link old_link
6
7*cpp:
8%(old_cpp) %{qrtems: -D__embedded__} -Asystem(embedded)
9
10*lib:
11%{!qrtems: %(old_lib)} \
12%{!nostdlib: %{qrtems: --start-group %{!qrtems_debug: -lrtemsbsp -lrtemscpu } %{qrtems_debug: -lrtemsbsp_g -lrtemscpu_g} \
13 -lc -lgcc --end-group \
14 %{!qnolinkcmds: %{ml: -T linkcmds-le%s} %{!ml: -T linkcmds%s}}}}
15
16*startfile:
17%{!qrtems: %(old_startfile)} \
18%{!nostdlib: %{qrtems: %{qrtems_debug: start_g.o%s} %{!qrtems_debug: start.o%s}}}
19
20*link:
21%(old_link) %{qrtems: -dc -dp -N -e _start}
22
Note: See TracBrowser for help on using the repository browser.