|
|
1.1 root 1: echo Configuring GCC for Windows NT on %2
2: rem This batch file assumes a unix-type "sed" program
3:
4: echo #include "%2/xm-winnt.h" >config.h
5: echo #include "%2/xm-winnt.h" >hconfig.h
6: echo #include "%2/xm-winnt.h" >tconfig.h
7: echo #include "%2/win-nt.h" >tm.h
8:
9: rem This batch file assumes a unix-type "sed" program
10:
11: echo # Makefile generated by "config-nt.bat"> Makefile
12: echo all.nt: cpp.exe cc1.exe cc1obj.exe xgcc.exe ld.exe stmp-headers libgcc.lib stmp-float_h specs stamp-objlist>> Makefile
13: sed -f config/%2/config-nt.sed -f config/winnt/config-nt.sed Makefile.in >> Makefile
14:
15: set LANG=
16:
17: echo # >specs.h
18: echo # >options.h
19:
20: if not exist cp\make-lang.in goto no_cp
21: if exist cp\lang-specs.h echo #include "cp/lang-specs.h">>specs.h
22: if exist cp\lang-options.h echo #include "cp/lang-options.h">>options.h
23: sed -f config/%2/config-nt.sed -f config/winnt/config-nt.sed cp\make-lang.in >> Makefile
24: sed -f config/%2/config-nt.sed -f config/winnt/config-nt.sed cp\makefile.in > cp\Makefile
25: set LANG=%LANG% c++.#
26: :no_cp
27:
28: if not exist ada\make-lang.in goto no_ada
29: if exist ada\lang-specs.h echo #include "ada/lang-specs.h">>specs.h
30: if exist ada\lang-options.h echo #include "ada/lang-options.h">>options.h
31: sed -f config/%2/config-nt.sed -f config/winnt/config-nt.sed ada\make-lang.in >> Makefile
32: sed -f config/%2/config-nt.sed -f config/winnt/config-nt.sed ada\makefile.in > ada\Makefile
33: set LANG=%LANG% ada.#
34: :no_ada
35:
36: if not exist f\make-lang.in goto no_f
37: if exist f\lang-specs.h echo #include "f/lang-specs.h">>specs.h
38: if exist f\lang-options.h echo #include "f/lang-options.h">>options.h
39: sed -f config/%2/config-nt.sed -f config/winnt/config-nt.sed f\make-lang.in >> Makefile
40: sed -f config/%2/config-nt.sed -f config/winnt/config-nt.sed f\makefile.in > f\Makefile
41: set LANG=%LANG% f.#
42: :no_f
43:
44: echo lang.mostlyclean: %LANG% | sed "s/#/mostlyclean/g" >> Makefile
45: echo lang.clean: %LANG% | sed "s/#/clean/g" >> Makefile
46: echo lang.distclean: %LANG% | sed "s/#/distclean/g" >> Makefile
47: echo lang.realclean: %LANG% | sed "s/#/realclean/g" >> Makefile
48:
49: echo #define MULTILIB_SELECT ". ;" > multilib.h1
50: copy multilib.h1 multilib.h
51: del multilib.h1
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.