]> gcc.gnu.org Git - gcc.git/blame - gcc/make-l2.com
*** empty log message ***
[gcc.git] / gcc / make-l2.com
CommitLineData
948c37aa
RS
1$! Set the def dir to proper place for use in batch. Works for interactive too.
2$flnm = f$enviroment("PROCEDURE") ! get current procedure name
3$set default 'f$parse(flnm,,,"DEVICE")''f$parse(flnm,,,"DIRECTORY")'
948c37aa
RS
4$!
5$! Command file to build libgcc2.olb. You should only run this once you
6$! have the current compiler installed, otherwise some of the builtins will
7$! not be recognized. Once you have built libgcc2.olb, you can merge this
8$! with gnu_cc:[000000]gcclib.olb
9$!
10$lib/create libgcc2.olb
11$call compile_libgcc2 "L_muldi3"
12$call compile_libgcc2 "L_divdi3"
13$call compile_libgcc2 "L_moddi3"
14$call compile_libgcc2 "L_udivdi3"
15$call compile_libgcc2 "L_umoddi3"
16$call compile_libgcc2 "L_negdi2"
17$call compile_libgcc2 "L_lshrdi3"
18$call compile_libgcc2 "L_lshldi3"
19$call compile_libgcc2 "L_ashldi3"
20$call compile_libgcc2 "L_ashrdi3"
21$call compile_libgcc2 "L_udivmoddi4"
22$call compile_libgcc2 "L_cmpdi2"
23$call compile_libgcc2 "L_ucmpdi2"
24$call compile_libgcc2 "L_floatdidf"
25$call compile_libgcc2 "L_floatdisf"
26$call compile_libgcc2 "L_fixunsdfsi"
27$call compile_libgcc2 "L_fixunssfsi"
28$call compile_libgcc2 "L_fixunsdfdi"
29$call compile_libgcc2 "L_fixdfdi"
30$call compile_libgcc2 "L_fixunssfdi"
31$call compile_libgcc2 "L_fixsfdi"
32$call compile_libgcc2 "L_varargs"
33$call compile_libgcc2 "L_eprintf"
34$call compile_libgcc2 "L_builtin_new"
35$call compile_libgcc2 "L_builtin_New" L_builtin_nnew
36$call compile_libgcc2 "L_builtin_del"
37$call compile_libgcc2 "L_bb"
38$call compile_libgcc2 "L_shtab"
39$call compile_libgcc2 "L_clear_cache"
40$call compile_libgcc2 "L_trampoline"
41$call compile_libgcc2 "L__main"
42$!call compile_libgcc2 "L_exit"
43$exit
44$!
45$compile_libgcc2:
46$subroutine
47$objname = p1
48$if p2.nes."" then objname = p2
7e929166 49$gcc/include=([],[.config])/debug/define="''p1'" libgcc2.c/obj='objname'.obj
948c37aa
RS
50$lib libgcc2.olb 'objname'.obj
51$del 'objname'.obj;/nolog
52$endsubroutine
This page took 0.038812 seconds and 5 git commands to generate.