home *** CD-ROM | disk | FTP | other *** search
- @echo off
- if "%1"=="" goto usage
- :jump
- echo %1
- goto %1
-
- :usage
- echo Usage: makebin PROGRAMS
- echo PROGRAMS:
- echo all
- echo gcc cpp cc1 as gdb ld ar strip size nm objdump cc1plus cc1obj
- echo info makeinfo texindex
- goto end
-
- :all
- call makebin gcc cpp cc1 cc1plus cc1obj as gdb ld ar strip size nm objdump info makeinfo texindex
- goto next
-
- :gcc
- call makebin1 \emx\gnu\gcc-2.3\xgcc gcc
- goto next
-
- :cpp
- call makebin1 \emx\gnu\gcc-2.3\cccp cpp
- goto next
-
- :cc1
- call makebin1 \emx\gnu\gcc-2.3\cc1 cc1
- goto next
-
- :cc1plus
- call makebin1 \emx\gnu\gcc-2.3\cc1plus cc1plus
- goto next
-
- :cc1obj
- call makebin1 \emx\gnu\gcc-2.3\cc1obj cc1obj
- goto next
-
- :as
- call makebin1 \emx\gnu\gas-1.38\a386 as
- goto next
-
- :gdb
- call makebin1 \emx\gnu\gdb-4.7\gdb gdb -p
- goto next
-
- :ld
- call makebin1 \emx\gnu\binutils\ld ld
- goto next
-
- :strip
- call makebin1 \emx\gnu\binutils\strip strip
- goto next
-
- :ar
- call makebin1 \emx\gnu\binutils\ar ar
- goto next
-
- :nm
- call makebin1 \emx\gnu\binutils\nm nm
- goto next
-
- :size
- call makebin1 \emx\gnu\binutils\size size
- goto next
-
- :objdump
- call makebin1 \emx\gnu\binutils\objdump objdump
- goto next
-
- :info
- call makebin1 \emx\gnu\texinfo\info info
- goto next
-
- :makeinfo
- call makebin1 \emx\gnu\texinfo\makeinfo makeinfo
- goto next
-
- :texindex
- call makebin1 \emx\gnu\texinfo\texindex texindex
- goto next
-
- :next
- shift
- if not "%1" == "" goto jump
- :end
-