Switched to new style which does not require hackspecs.awk.

This commit is contained in:
Joel Sherrill
1997-08-28 21:54:59 +00:00
parent de5e24f83f
commit e9932367e7
20 changed files with 260 additions and 580 deletions

View File

@@ -1,34 +1,18 @@
%rename cpp old_cpp
%rename lib old_lib
%rename endfile old_endfile
%rename startfile old_startfile
%rename link old_link
predefines: *cpp:
-D__embedded__ -Asystem(embedded) %(old_cpp) %{qrtems: -D__embedded__} -Asystem(embedded)
startfile: replace *lib:
mrtems: %{!qrtems: %(old_lib)} %{qrtems: --start-group -lc -lrtemsall -lgcc --end-group}
pg: start.o%s
{!pg:
g: start.o%s
{!g:
p: start.o%s
!p: start.o%s
}}
{!mrtems:
pg: pgcrt0%O
{!pg:
g: gcrt0%O
{!g:
p: pcrt0%O
!p: crt0%O
}}}
link: replace
mrtems: -dc -dp -N -e start
lib: replace
mrtems: -( -lc -lrtemsall -lgcc -)
libgcc: replace
*startfile:
%{!qrtems: %(old_startfile)} %{qrtems: start.o%s}
*link:
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -e start}

View File

@@ -1,34 +1,18 @@
%rename cpp old_cpp
%rename lib old_lib
%rename endfile old_endfile
%rename startfile old_startfile
%rename link old_link
predefines: *cpp:
-D__embedded__ -Asystem(embedded) %(old_cpp) %{qrtems: -D__embedded__} -Asystem(embedded)
startfile: replace *lib:
mrtems: %{!qrtems: %(old_lib)} %{qrtems: --start-group -lc -lrtemsall -lgcc --end-group}
pg: start.o%s
{!pg:
g: start.o%s
{!g:
p: start.o%s
!p: start.o%s
}}
{!mrtems:
pg: pgcrt0%O
{!pg:
g: gcrt0%O
{!g:
p: pcrt0%O
!p: crt0%O
}}}
link: replace
mrtems: -dc -dp -N -T linkcmds%s -e start
lib: replace
mrtems: -( -lc -lrtemsall -lgcc -)
libgcc: replace
*startfile:
%{!qrtems: %(old_startfile)} %{qrtems: start.o%s}
*link:
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -T linkcmds%s -e start}

View File

@@ -1,34 +1,18 @@
%rename cpp old_cpp
%rename lib old_lib
%rename endfile old_endfile
%rename startfile old_startfile
%rename link old_link
predefines: *cpp:
-D__embedded__ -Asystem(embedded) %(old_cpp) %{qrtems: -D__embedded__} -Asystem(embedded)
startfile: replace *lib:
mrtems: %{!qrtems: %(old_lib)} %{qrtems: --start-group -lc -lrtemsall -lgcc --end-group -lcgo32 -lpc}
pg: crt0.o%s
{!pg:
g: crt0.o%s
{!g:
p: crt0.o%s
!p: crt0.o%s
}}
{!mrtems:
pg: pgcrt0%O
{!pg:
g: gcrt0%O
{!g:
p: pcrt0%O
!p: crt0%O
}}}
link: replace
lib: replace
mrtems: -( -lc -lrtemsall -lgcc -) -lcgo32 -lpc
libgcc: replace
*startfile:
%{!qrtems: %(old_startfile)} %{qrtems: crt0.o%s}
*link:
%{!qrtems: %(old_link)} %{qrtems: %(old_link)}

View File

@@ -1,34 +1,18 @@
%rename cpp old_cpp
%rename lib old_lib
%rename endfile old_endfile
%rename startfile old_startfile
%rename link old_link
predefines: *cpp:
-D__embedded__ -Asystem(embedded) %(old_cpp) %{qrtems: -D__embedded__} -Asystem(embedded)
startfile: replace *lib:
mrtems: %{!qrtems: %(old_lib)} %{qrtems: --start-group -lc -lrtemsall -lgcc --end-group}
pg: start.o%s
{!pg:
g: start.o%s
{!g:
p: start.o%s
!p: start.o%s
}}
{!mrtems:
pg: pgcrt0%O
{!pg:
g: gcrt0%O
{!g:
p: pcrt0%O
!p: crt0%O
}}}
link: replace
mrtems: -dc -dp -N -T linkcmds%s -e start
lib: replace
mrtems: -( -lc -lrtemsall -lgcc -)
libgcc: replace
*startfile:
%{!qrtems: %(old_startfile)} %{qrtems: start.o%s}
*link:
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -T linkcmds%s -e start}

View File

@@ -1,34 +1,18 @@
%rename cpp old_cpp
%rename lib old_lib
%rename endfile old_endfile
%rename startfile old_startfile
%rename link old_link
predefines: *cpp:
-D__embedded__ -Asystem(embedded) %(old_cpp) %{qrtems: -D__embedded__} -Asystem(embedded)
startfile: replace *lib:
mrtems: %{!qrtems: %(old_lib)} %{qrtems: --start-group -lc -lrtemsall -lgcc --end-group}
pg: start.o%s
{!pg:
g: start.o%s
{!g:
p: start.o%s
!p: start.o%s
}}
{!mrtems:
pg: pgcrt0%O
{!pg:
g: gcrt0%O
{!g:
p: pcrt0%O
!p: crt0%O
}}}
link: replace
mrtems: -dc -dp -N -T linkcmds%s -e _start
lib: replace
mrtems: -( -lc -lrtemsall -lgcc -)
libgcc: replace
*startfile:
%{!qrtems: %(old_startfile)} %{qrtems: start.o%s}
*link:
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -T linkcmds%s -e _start}

View File

@@ -1,34 +1,18 @@
%rename cpp old_cpp
%rename lib old_lib
%rename endfile old_endfile
%rename startfile old_startfile
%rename link old_link
predefines: *cpp:
-D__embedded__ -Asystem(embedded) %(old_cpp) %{qrtems: -D__embedded__} -Asystem(embedded)
startfile: replace *lib:
mrtems: %{!qrtems: %(old_lib)} %{qrtems: --start-group -lc -lrtemsall -lgcc --end-group}
pg: start.o%s
{!pg:
g: start.o%s
{!g:
p: start.o%s
!p: start.o%s
}}
{!mrtems:
pg: pgcrt0%O
{!pg:
g: gcrt0%O
{!g:
p: pcrt0%O
!p: crt0%O
}}}
link: replace
mrtems: -dc -dp -N -T linkcmds%s -e start
lib: replace
mrtems: -( -lc -lrtemsall -lgcc -)
libgcc: replace
*startfile:
%{!qrtems: %(old_startfile)} %{qrtems: start.o%s}
*link:
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -T linkcmds%s -e start}

View File

@@ -1,34 +1,18 @@
%rename cpp old_cpp
%rename lib old_lib
%rename endfile old_endfile
%rename startfile old_startfile
%rename link old_link
predefines: *cpp:
-D__embedded__ -Asystem(embedded) %(old_cpp) %{qrtems: -D__embedded__} -Asystem(embedded)
startfile: replace *lib:
mrtems: %{!qrtems: %(old_lib)} %{qrtems: --start-group -lc -lrtemsall -lgcc --end-group}
pg: start332.o%s
{!pg:
g: start332.o%s
{!g:
p: start332.o%s
!p: start332.o%s
}}
{!mrtems:
pg: pgcrt0%O
{!pg:
g: gcrt0%O
{!g:
p: pcrt0%O
!p: crt0%O
}}}
link: replace
mrtems: -dc -dp -N -T linkcmds%s -e start
lib: replace
mrtems: -( -lc -lrtemsall -lgcc -)
libgcc: replace
*startfile:
%{!qrtems: %(old_startfile)} %{qrtems: start332.o%s}
*link:
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -T linkcmds%s -e start}

View File

@@ -1,34 +1,18 @@
%rename cpp old_cpp
%rename lib old_lib
%rename endfile old_endfile
%rename startfile old_startfile
%rename link old_link
predefines: *cpp:
-D__embedded__ -Asystem(embedded) %(old_cpp) %{qrtems: -D__embedded__} -Asystem(embedded)
startfile: replace *lib:
mrtems: %{!qrtems: %(old_lib)} %{qrtems: --start-group -lc -lrtemsall -lgcc --end-group}
pg: start68k.o%s
{!pg:
g: start68k.o%s
{!g:
p: start68k.o%s
!p: start68k.o%s
}}
{!mrtems:
pg: pgcrt0%O
{!pg:
g: gcrt0%O
{!g:
p: pcrt0%O
!p: crt0%O
}}}
link: replace
mrtems: -dc -dp -N -T linkcmds%s -e start
lib: replace
mrtems: -( -lc -lrtemsall -lgcc -)
libgcc: replace
*startfile:
%{!qrtems: %(old_startfile)} %{qrtems: start68k.o%s}
*link:
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -T linkcmds%s -e start}

View File

@@ -1,34 +1,18 @@
%rename cpp old_cpp
%rename lib old_lib
%rename endfile old_endfile
%rename startfile old_startfile
%rename link old_link
predefines: *cpp:
-D__embedded__ -Asystem(embedded) %(old_cpp) %{qrtems: -D__embedded__} -Asystem(embedded)
startfile: replace *lib:
mrtems: %{!qrtems: %(old_lib)} %{qrtems: --start-group -lc -lrtemsall -lgcc --end-group}
pg: start302.o%s
{!pg:
g: start302.o%s
{!g:
p: start302.o%s
!p: start302.o%s
}}
{!mrtems:
pg: pgcrt0%O
{!pg:
g: gcrt0%O
{!g:
p: pcrt0%O
!p: crt0%O
}}}
link: replace
mrtems: -dc -dp -N -T linkcmds%s -e start
lib: replace
mrtems: -( -lc -lrtemsall -lgcc -)
libgcc: replace
*startfile:
%{!qrtems: %(old_startfile)} %{qrtems: start302.o%s}
*link:
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -T linkcmds%s -e start}

View File

@@ -1,34 +1,18 @@
%rename cpp old_cpp
%rename lib old_lib
%rename endfile old_endfile
%rename startfile old_startfile
%rename link old_link
predefines: *cpp:
-D__embedded__ -Asystem(embedded) %(old_cpp) %{qrtems: -D__embedded__} -Asystem(embedded)
startfile: replace *lib:
mrtems: %{!qrtems: %(old_lib)} %{qrtems: --start-group -lc -lrtemsall -lgcc --end-group}
pg: start360.o%s
{!pg:
g: start360.o%s
{!g:
p: start360.o%s
!p: start360.o%s
}}
{!mrtems:
pg: pgcrt0%O
{!pg:
g: gcrt0%O
{!g:
p: pcrt0%O
!p: crt0%O
}}}
link: replace
mrtems: -dc -dp -N -T linkcmds%s -e start
lib: replace
mrtems: -( -lc -lrtemsall -lgcc -)
libgcc: replace
*startfile:
%{!qrtems: %(old_startfile)} %{qrtems: start360.o%s}
*link:
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -T linkcmds%s -e start}

View File

@@ -1,34 +1,18 @@
%rename cpp old_cpp
%rename lib old_lib
%rename endfile old_endfile
%rename startfile old_startfile
%rename link old_link
predefines: *cpp:
-D__embedded__ -Asystem(embedded) %(old_cpp) %{qrtems: -D__embedded__} -Asystem(embedded)
startfile: replace *lib:
mrtems: %{!qrtems: %(old_lib)} %{qrtems: --start-group -lc -lrtemsall -lgcc --end-group}
pg: start.o%s
{!pg:
g: start.o%s
{!g:
p: start.o%s
!p: start.o%s
}}
{!mrtems:
pg: pgcrt0%O
{!pg:
g: gcrt0%O
{!g:
p: pcrt0%O
!p: crt0%O
}}}
link: replace
mrtems: -dc -dp -N -T linkcmds%s -e start
lib: replace
mrtems: -( -lc -lrtemsall -lgcc -)
libgcc: replace
*startfile:
%{!qrtems: %(old_startfile)} %{qrtems: start.o%s}
*link:
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -T linkcmds%s -e start}

View File

@@ -1,34 +1,18 @@
%rename cpp old_cpp
%rename lib old_lib
%rename endfile old_endfile
%rename startfile old_startfile
%rename link old_link
predefines: *cpp:
-D__embedded__ -Asystem(embedded) %(old_cpp) %{qrtems: -D__embedded__} -Asystem(embedded)
startfile: replace *lib:
mrtems: %{!qrtems: %(old_lib)} %{qrtems: --start-group -lc -lrtemsall -lgcc --end-group}
pg: start.o%s
{!pg:
g: start.o%s
{!g:
p: start.o%s
!p: start.o%s
}}
{!mrtems:
pg: pgcrt0%O
{!pg:
g: gcrt0%O
{!g:
p: pcrt0%O
!p: crt0%O
}}}
link: replace
mrtems: -dc -dp -N -T linkcmds%s -e start
lib: replace
mrtems: -( -lc -lrtemsall -lgcc -)
libgcc: replace
*startfile:
%{!qrtems: %(old_startfile)} %{qrtems: start.o%s}
*link:
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -T linkcmds%s -e start}

View File

@@ -1,34 +1,18 @@
%rename cpp old_cpp
%rename lib old_lib
%rename endfile old_endfile
%rename startfile old_startfile
%rename link old_link
predefines: *cpp:
-D__embedded__ -Asystem(embedded) %(old_cpp) %{qrtems: -D__embedded__} -Asystem(embedded)
startfile: replace *lib:
mrtems: %{!qrtems: %(old_lib)} %{qrtems: --start-group -lc -lrtemsall -lgcc --end-group}
pg: start.o%s
{!pg:
g: start.o%s
{!g:
p: start.o%s
!p: start.o%s
}}
{!mrtems:
pg: pgcrt0%O
{!pg:
g: gcrt0%O
{!g:
p: pcrt0%O
!p: crt0%O
}}}
link: replace
mrtems: -dc -dp -N -T linkcmds%s -e start
lib: replace
mrtems: -( -lc -lrtemsall -lgcc -)
libgcc: replace
*startfile:
%{!qrtems: %(old_startfile)} %{qrtems: start.o%s}
*link:
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -T linkcmds%s -e start}

View File

@@ -1,34 +1,18 @@
%rename cpp old_cpp
%rename lib old_lib
%rename endfile old_endfile
%rename startfile old_startfile
%rename link old_link
predefines: *cpp:
-D__embedded__ -Asystem(embedded) %(old_cpp) %{qrtems: -D__embedded__} -Asystem(embedded)
startfile: replace *lib:
mrtems: %{!qrtems: %(old_lib)} %{qrtems: --start-group -lc -lrtemsall -lgcc --end-group}
pg: start.o%s
{!pg:
g: start.o%s
{!g:
p: start.o%s
!p: start.o%s
}}
{!mrtems:
pg: pgcrt0%O
{!pg:
g: gcrt0%O
{!g:
p: pcrt0%O
!p: crt0%O
}}}
link: replace
mrtems: -dc -dp -N -T linkcmds%s -e start
lib: replace
mrtems: -( -lc -lrtemsall -lgcc -)
libgcc: replace
*startfile:
%{!qrtems: %(old_startfile)} %{qrtems: start.o%s}
*link:
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -T linkcmds%s -e start}

View File

@@ -1,34 +1,18 @@
%rename cpp old_cpp
%rename lib old_lib
%rename endfile old_endfile
%rename startfile old_startfile
%rename link old_link
predefines: *cpp:
-D__embedded__ -Asystem(embedded) %(old_cpp) %{qrtems: -D__embedded__} -Asystem(embedded)
startfile: replace *lib:
mrtems: %{!qrtems: %(old_lib)} %{qrtems: --start-group -lc -lrtemsall -lgcc --end-group}
pg: start.o%s
{!pg:
g: start.o%s
{!g:
p: start.o%s
!p: start.o%s
}}
{!mrtems:
pg: pgcrt0%O
{!pg:
g: gcrt0%O
{!g:
p: pcrt0%O
!p: crt0%O
}}}
link: replace
mrtems: -dc -dp -N -T linkcmds%s -e start
lib: replace
mrtems: -( -lc -lrtemsall -lgcc -)
libgcc: replace
*startfile:
%{!qrtems: %(old_startfile)} %{qrtems: start.o%s}
*link:
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -T linkcmds%s -e start}

View File

@@ -1,34 +1,18 @@
%rename cpp old_cpp
%rename lib old_lib
%rename endfile old_endfile
%rename startfile old_startfile
%rename link old_link
predefines: *cpp:
-D__embedded__ -Asystem(embedded) %(old_cpp) %{qrtems: -D__embedded__} -Asystem(embedded)
startfile: replace *lib:
mrtems: %{!qrtems: %(old_lib)} %{qrtems: --start-group -lc -lrtemsall -lgcc --end-group}
pg: start302.o%s
{!pg:
g: start302.o%s
{!g:
p: start302.o%s
!p: start302.o%s
}}
{!mrtems:
pg: pgcrt0%O
{!pg:
g: gcrt0%O
{!g:
p: pcrt0%O
!p: crt0%O
}}}
link: replace
mrtems: -dc -dp -N -T linkcmds%s -e start
lib: replace
mrtems: -( -lc -lrtemsall -lgcc -)
libgcc: replace
*startfile:
%{!qrtems: %(old_startfile)} %{qrtems: start302.o%s}
*link:
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -T linkcmds%s -e start}

View File

@@ -1,34 +1,18 @@
%rename cpp old_cpp
%rename lib old_lib
%rename endfile old_endfile
%rename startfile old_startfile
%rename link old_link
predefines: *cpp:
-D__embedded__ -Asystem(embedded) %(old_cpp) %{qrtems: -D__embedded__} -Asystem(embedded)
startfile: replace *lib:
mrtems: %{!qrtems: %(old_lib)} %{qrtems: --start-group -lc -lrtemsall -lgcc --end-group}
pg: idt_csu.o%s
{!pg:
g: idt_csu.o%s
{!g:
p: idt_csu.o%s
!p: idt_csu.o%s
}}
{!mrtems:
pg: pgcrt0%O
{!pg:
g: gcrt0%O
{!g:
p: pcrt0%O
!p: crt0%O
}}}
link: replace
mrtems: -dc -dp -N -T linkcmds%s -e start
lib: replace
mrtems: -( -lc -lrtemsall -lgcc -)
libgcc: replace
*startfile:
%{!qrtems: %(old_startfile)} %{qrtems: idt_csu.o%s}
*link:
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -T linkcmds%s -e start}

View File

@@ -1,34 +1,18 @@
%rename cpp old_cpp
%rename lib old_lib
%rename endfile old_endfile
%rename startfile old_startfile
%rename link old_link
predefines: *cpp:
-D__embedded__ -Asystem(embedded) %(old_cpp) %{qrtems: -D__embedded__} -Asystem(embedded)
startfile: replace *lib:
mrtems: %{!qrtems: %(old_lib)} %{qrtems: --start-group -lc -lrtemsall -lgcc --end-group}
pg: idt_csu.o%s
{!pg:
g: idt_csu.o%s
{!g:
p: idt_csu.o%s
!p: idt_csu.o%s
}}
{!mrtems:
pg: pgcrt0%O
{!pg:
g: gcrt0%O
{!g:
p: pcrt0%O
!p: crt0%O
}}}
link: replace
mrtems: -dc -dp -N -T linkcmds%s -e start
lib: replace
mrtems: -( -lc -lrtemsall -lgcc -)
libgcc: replace
*startfile:
%{!qrtems: %(old_startfile)} %{qrtems: idt_csu.o%s}
*link:
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -T linkcmds%s -e start}

View File

@@ -1,34 +1,18 @@
%rename cpp old_cpp
%rename lib old_lib
%rename endfile old_endfile
%rename startfile old_startfile
%rename link old_link
predefines: *cpp:
-D__embedded__ -Asystem(embedded) %(old_cpp) %{qrtems: -D__embedded__} -Asystem(embedded)
startfile: replace *lib:
mrtems: %{!qrtems: %(old_lib)} %{qrtems: ecrti%O%s --start-group -lc -lrtemsall -lgcc --end-group}
pg:
{!pg:
g:
{!g:
p:
!p:
}}
{!mrtems:
pg: pgcrt0%O
{!pg:
g: gcrt0%O
{!g:
p: pcrt0%O
!p: crt0%O
}}}
link: replace
mrtems: -dc -dp -u __vectors -u download_entry -N -T linkcmds%s
lib: replace
mrtems: ecrti%O%s -( -lc -lrtemsall -lgcc -)
libgcc: replace
*startfile:
%{!qrtems: %(old_startfile)} %{qrtems: }
*link:
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -u __vectors -u download_entry -N -T linkcmds%s}

View File

@@ -1,34 +1,18 @@
%rename cpp old_cpp
%rename lib old_lib
%rename endfile old_endfile
%rename startfile old_startfile
%rename link old_link
predefines: *cpp:
-D__embedded__ -Asystem(embedded) %(old_cpp) %{qrtems: -D__embedded__} -Asystem(embedded)
startfile: replace *lib:
mrtems: %{!qrtems: %(old_lib)} %{qrtems: --start-group -lc -lrtemsall -lgcc --end-group}
pg: startsis.o%s
{!pg:
g: startsis.o%s
{!g:
p: startsis.o%s
!p: startsis.o%s
}}
{!mrtems:
pg: pgcrt0%O
{!pg:
g: gcrt0%O
{!g:
p: pcrt0%O
!p: crt0%O
}}}
link: replace
mrtems: -dc -dp -N -T linkcmds%s -e start
lib: replace
mrtems: -( -lc -lrtemsall -lgcc -)
libgcc: replace
*startfile:
%{!qrtems: %(old_startfile)} %{qrtems: startsis.o%s}
*link:
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -T linkcmds%s -e start}