"Fossies" - the Fresh Open Source Software Archive

Member "mapm_4.9.5a/WINDOWS_DOS/mkallgcc.bat" (21 Feb 2010, 827 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 *
    3 rem *   Build file for GCC under DOS / Win NT/9x
    4 rem *
    5 rem *   This is for DJ Delories DJGPP
    6 rem *   Version of DJGPP ??, but GCC is 2.95.2
    7 rem *
    8 del libmapm.a
    9 del mapm*.o
   10 rem *
   11 gcc -v
   12 rem *
   13 gcc -c -Wall -O2 mapm*.c
   14 rem *
   15 del mapmutil.o
   16 del mapmfmul.o
   17 rem *
   18 rem *   Use better optimizations for these two ...
   19 rem *
   20 gcc -c -Wall -O3 mapmutil.c
   21 gcc -c -Wall -O3 mapmfmul.c
   22 rem *
   23 ar rc libmapm.a mapm*.o
   24 rem *
   25 del mapm*.o
   26 rem *
   27 gcc -Wall -O2 calc.c libmapm.a -s -o calc.exe -lm
   28 gcc -Wall -O2 validate.c libmapm.a -s -o validate.exe -lm
   29 gcc -Wall -O2 primenum.c libmapm.a -s -o primenum.exe -lm
   30 rem *
   31 rem *
   32 rem *         to compile and link the C++ demo program
   33 rem *         using the C++ MAPM wrapper class.
   34 rem *         (default is commented out)
   35 rem *
   36 rem * gxx cpp_demo.cpp libmapm.a -s -o cpp_demo.exe -lm
   37 rem *