Annotation of GNUtools/cc/configure.bat, revision 1.1.1.1

1.1       root        1: @echo off
                      2: echo Configuring GCC for go32
                      3: rem This batch file assumes a unix-type "sed" program
                      4: 
                      5: update config\i386\xm-dos.h config.h
                      6: update config\i386\xm-dos.h hconfig.h
                      7: update config\i386\xm-dos.h tconfig.h
                      8: update config\i386\go32.h tm.h
                      9: update config\i386\i386.md md
                     10: update config\i386\i386.c aux-output.c
                     11: 
                     12: echo # Makefile generated by "configure.bat"> Makefile
                     13: echo all.dos: cccp cc1 cc1plus cc1obj xgcc>> Makefile
                     14: 
                     15: if exist config.sed del config.sed
                     16: 
                     17: echo "/\.o[    ]*:/ s/config.status//                  ">> config.sed
                     18: echo "/^target=/ c\                                    ">> config.sed
                     19: echo "target=go32                                      ">> config.sed
                     20: echo "/^version=/ c\                                   ">> config.sed
                     21: sed -e "s/.*\"\([^ \"]*\)[ \"].*/version=\1/" version.c  >> config.sed
                     22: echo "s/CC = cc/CC = gcc/                              ">> config.sed
                     23: echo "s/:\$/: \$/g                                     ">> config.sed
                     24: echo "s/^      \ *\.\//        go32 /                  ">> config.sed
                     25: echo "s/<\ *\$(srcdir)\//< $(srcdir)\\/g               ">> config.sed
                     26: echo "s/^      \$(srcdir)\/move-if-change/     update/ ">> config.sed
                     27: echo "s/^USE_/# USE_/                                  ">> config.sed
                     28: echo "s/`echo \$(srcdir)\///g                          ">> config.sed
                     29: echo "s/ | sed 's,\^\\\.\/,,'`//g                      ">> config.sed
                     30: echo "s/^      cd \$(srcdir)[  ]*;/    /               ">> config.sed
                     31: 
                     32: echo "/^# USE_HOST_OBSTACK/ i\                         ">> config.sed
                     33: echo "USE_HOST_OBSTACK=obstack.o                       ">> config.sed
                     34: 
                     35: echo "/^stamp-attrtab/,/update/ {                      ">> config.sed
                     36: echo "  /\\/d                                          ">> config.sed
                     37: echo "  /fi/d                                          ">> config.sed
                     38: echo "  /update/ i\                                    ">> config.sed
                     39: echo "   go32 genattrtab md > t-attrtab.c              ">> config.sed
                     40: echo "}                                                        ">> config.sed
                     41: 
                     42: echo "/^enquire[       ]*:/ s/\$(GCC_PARTS)//g         ">> config.sed
                     43: echo "/^enquire.o[     ]*:/ s/\$(GCC_PASSES)//g        ">> config.sed
                     44: echo "/^GCC_FOR_TARGET =/ c\                           ">> config.sed
                     45: echo "GCC_FOR_TARGET = gcc                             ">> config.sed
                     46: 
                     47: echo "s/; *@true//                                     ">> config.sed
                     48: echo "s/stamp-/s-/g                                    ">> config.sed
                     49: echo "s/tmp-/t-/g                                      ">> config.sed
                     50: 
                     51: sed -e "s/^\"//" -e "s/\"$//" -e "s/[  ]*$//" config.sed > config2.sed
                     52: sed -f config2.sed Makefile.in >> Makefile
                     53: del config.sed
                     54: del config2.sed

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.