Last change
on this file since 1a632e8e was
1a632e8e,
checked in by Joel Sherrill <joel.sherrill@…>, on 06/07/00 at 13:27:40
|
-T linkcmds now part of %lib rule so %link rule can more easily honor
the CPU model library linking rules built into gcc.
|
-
Property mode set to
100644
|
File size:
628 bytes
|
Rev | Line | |
---|
[ee733965] | 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: |
---|
[1a632e8e] | 11 | %{!qrtems: %(old_lib)} %{qrtems: --start-group \ |
---|
[ee733965] | 12 | %{!qrtems_debug: -lrtemsall} %{qrtems_debug: -lrtemsall_g} \ |
---|
| 13 | -lc -lgcc --end-group \ |
---|
| 14 | %{!qnolinkcmds: -T linkcmds%s}} |
---|
| 15 | |
---|
| 16 | *startfile: |
---|
[1a632e8e] | 17 | %{!qrtems: %(old_startfile)} %{qrtems: ecrti%O%s \ |
---|
| 18 | %{!qrtems_debug: start.o%s} \ |
---|
| 19 | %{qrtems_debug: start_g.o%s}} |
---|
[ee733965] | 20 | |
---|
[01a9d941] | 21 | *endfile: |
---|
| 22 | %{!qrtems: %(old_endfile)} %{qrtems: ecrtn%O%s} |
---|
| 23 | |
---|
[ee733965] | 24 | *link: |
---|
| 25 | %{!qrtems: %(old_link)} %{qrtems: -dc -dp -u __vectors -N -u start -e start} |
---|
| 26 | |
---|
Note: See
TracBrowser
for help on using the repository browser.