32 |
#This BASH script just builds the executable. If there is any trouble in porting the |
#This BASH script just builds the executable. If there is any trouble in porting the |
33 |
#executable, it might be wise to use the -static option on the compile. |
#executable, it might be wise to use the -static option on the compile. |
34 |
# |
# |
35 |
#Build the general purpose CGI-BIN which gives data to the script. |
#Build the general purpose auxiliary CGI-BIN which gives data to the script. |
36 |
gcc -Wimplicit -static -o dtats_cgi_arith_large dtats_cgi_arith_large.c auxfuncs.c cf_decomp.c rat_num.c sieve_eratosthenes.c \ |
gcc -Wimplicit -static -o dtats_cgi_aux_arith_large \ |
37 |
subfunc_cfbrap.c subfunc_gcd.c subfunc_gmp_prob_prime.c subfunc_pfact_18.c -lgmp |
dtats_cgi_aux_arith_large.c auxfuncs.c cf_decomp.c \ |
38 |
|
rat_num.c sieve_eratosthenes.c subfunc_cfbrap.c \ |
39 |
|
subfunc_gcd.c subfunc_gmp_prob_prime.c \ |
40 |
|
subfunc_pfact_18.c -lgmp |
41 |
# |
# |
42 |
#Copy all the source files to the right locations so they will be publicly available |
#Copy the executable to the right location. |
43 |
#to meet the license terms of the GMP. |
cp dtats_cgi_aux_arith_large /hl/cgibin/aux_progs |
|
#cp arith_large_cgi.c /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/arith_large_cgi.c.txt |
|
|
#cp auxfuncs.c /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/auxfuncs.c.txt |
|
|
#cp auxfuncs.h /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/auxfuncs.h.txt |
|
|
#cp build /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/build.txt |
|
|
#cp sieve_eratosthenes.c /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/sieve_eratosthenes.c.txt |
|
|
#cp sieve_eratosthenes.h /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/sieve_eratosthenes.h.txt |
|
|
#cp sieve_gen.c /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/sieve_gen.c.txt |
|
|
#cp subfunc_gcd.c /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/subfunc_gcd.c.txt |
|
|
#cp subfunc_gcd.h /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/subfunc_gcd.h.txt |
|
|
#cp subfunc_gmp_prob_prime.c /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/subfunc_gmp_prob_prime.c.txt |
|
|
#cp subfunc_gmp_prob_prime.h /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/subfunc_gmp_prob_prime.h.txt |
|
|
#cp subfunc_pfact_18.c /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/subfunc_pfact_18.c.txt |
|
|
#cp subfunc_pfact_18.h /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/subfunc_pfact_18.h.txt |
|
|
# |
|
|
#Also copy the PHP scripts. |
|
|
#cp /web_root/daveashley_com/esrg_sourceforge_mirror/phpcgibin/Cpuusagestatclock.inc /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/Cpuusagestatclock.inc.txt |
|
|
#cp /web_root/daveashley_com/esrg_sourceforge_mirror/phpcgibin/pfact18digit.php /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/pfact18digit.php.txt |
|
|
#cp /web_root/daveashley_com/esrg_sourceforge_mirror/phpcgibin/euclid_gcd.php /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/euclid_gcd.php.txt |
|
|
#cp /web_root/daveashley_com/esrg_sourceforge_mirror/phpcgibin/miller_rabin.php /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/miller_rabin.php.txt |
|
|
#cp /web_root/daveashley_com/esrg_sourceforge_mirror/phpcgibin/Stdnwpstyle.inc /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/Stdnwpstyle.inc.txt |
|
44 |
# |
# |
45 |
#******************************************************************************** |
#******************************************************************************** |
46 |
#End of file BUILD. |
#End of file BUILD. |