"Fossies" - the Fresh Open Source Software Archive

Member "mapm_4.9.5a/WINDOWS_DOS/mkallmgw.bat" (21 Feb 2010, 1954 Bytes) of package /linux/misc/old/mapm-4.9.5a.tar.gz:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) MS DOS Batch source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 rem
    2 rem  mkallmgw.bat
    3 rem
    4 rem  Build batch file for MINGW compiler
    5 rem  Tested with version mingw-1.0.1-20010726
    6 rem  (This package contains GCC version 2.95.3)
    7 rem
    8 rem  also tested with gcc 3.2    (mingw special 20020817-1)
    9 rem  also tested with gcc 3.2.3  (mingw special 20030504-1)
   10 rem
   11 rem  note that each file is compiled separately
   12 rem  since this compiler did not support wildcards
   13 rem  (map*.c) on my system.
   14 rem
   15 rem  compile the MAPM library files
   16 rem
   17 del map*.o
   18 rem
   19 gcc -v
   20 rem
   21 gcc -c -Wall -O2 mapm_add.c
   22 gcc -c -Wall -O2 mapm_cpi.c
   23 gcc -c -Wall -O2 mapm_div.c
   24 gcc -c -Wall -O2 mapm_exp.c
   25 gcc -c -Wall -O2 mapm_fam.c
   26 gcc -c -Wall -O2 mapm_fft.c
   27 gcc -c -Wall -O2 mapm_flr.c
   28 gcc -c -Wall -O2 mapm_fpf.c
   29 gcc -c -Wall -O2 mapm_gcd.c
   30 gcc -c -Wall -O2 mapm_log.c
   31 gcc -c -Wall -O2 mapm_lg2.c
   32 gcc -c -Wall -O2 mapm_lg3.c
   33 gcc -c -Wall -O2 mapm_lg4.c
   34 gcc -c -Wall -O2 mapm_mul.c
   35 gcc -c -Wall -O2 mapm_pow.c
   36 gcc -c -Wall -O2 mapm_rcp.c
   37 gcc -c -Wall -O2 mapm_rnd.c
   38 gcc -c -Wall -O2 mapm_set.c
   39 gcc -c -Wall -O2 mapm_sin.c
   40 gcc -c -Wall -O2 mapm5sin.c
   41 gcc -c -Wall -O2 mapmasin.c
   42 gcc -c -Wall -O2 mapmasn0.c
   43 gcc -c -Wall -O2 mapmcbrt.c
   44 gcc -c -Wall -O2 mapmcnst.c
   45 gcc -c -Wall -O2 mapmfact.c
   46 gcc -c -Wall -O3 mapmfmul.c
   47 gcc -c -Wall -O2 mapmgues.c
   48 gcc -c -Wall -O2 mapmhasn.c
   49 gcc -c -Wall -O2 mapmhsin.c
   50 gcc -c -Wall -O2 mapmipwr.c
   51 gcc -c -Wall -O2 mapmistr.c
   52 gcc -c -Wall -O2 mapmpwr2.c
   53 gcc -c -Wall -O2 mapmrsin.c
   54 gcc -c -Wall -O2 mapmsqrt.c
   55 gcc -c -Wall -O2 mapmstck.c
   56 gcc -c -Wall -O3 mapmutil.c
   57 gcc -c -Wall -O2 mapmutl1.c
   58 gcc -c -Wall -O2 mapmutl2.c
   59 rem
   60 rem
   61 rem build the library and delete object files
   62 rem
   63 del libmapm.a
   64 ar rc libmapm.a map*.o
   65 del map*.o
   66 rem
   67 rem
   68 rem  build the 4 demo programs
   69 rem
   70 rem
   71 gcc -Wall -O2 -o calc.exe calc.c libmapm.a -s -lm
   72 gcc -Wall -O2 -o validate.exe validate.c libmapm.a -s -lm
   73 gcc -Wall -O2 -o primenum.exe primenum.c libmapm.a -s -lm
   74 rem
   75 gcc -Wall -O2 -o cpp_demo.exe cpp_demo.cpp libmapm.a -s -lm -lstdc++
   76 rem
   77 rem
   78 rem