source: rtems/c/src/lib/libbsp/a29k/portsw/bsp_specs @ a2ae30c2

4.104.114.84.95
Last change on this file since a2ae30c2 was a2ae30c2, checked in by Joel Sherrill <joel.sherrill@…>, on 08/21/02 at 17:06:22

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

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