/[dtapublic]/projs/dtats/trunk/projs/2018/20180707_cgi_web_tools_aux_exe/build
ViewVC logotype

Contents of /projs/dtats/trunk/projs/2018/20180707_cgi_web_tools_aux_exe/build

Parent Directory Parent Directory | Revision Log Revision Log


Revision 174 - (show annotations) (download)
Sun Jul 8 21:29:07 2018 UTC (5 years, 8 months ago) by dashley
File size: 4312 byte(s)
Set executable bit on script.
1 #!/bin/bash
2 #
3 #$Header$
4 #
5 #********************************************************************************
6 #Copyright (C) 2003 David T. Ashley
7 #********************************************************************************
8 #This program or source file is free software; you can redistribute it and/or
9 #modify it under the terms of the GNU General Public License as published by
10 #the Free Software Foundation; either version 2 of the License, or (at your
11 #option) any later version.
12 #
13 #This program or source file is distributed in the hope that it will
14 #be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
15 #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 #GNU General Public License for more details.
17 #
18 #You may have received a copy of the GNU General Public License
19 #along with this program; if not, write to the Free Software
20 #Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 #********************************************************************************
22 #This BASH script just builds the executable. If there is any trouble in porting the
23 #executable, it might be wise to use the -static option on the compile.
24 #
25 #Build the general purpose CGI-BIN which gives data to the script.
26 gcc -Wimplicit -static -o arith_large_cgi arith_large_cgi.c auxfuncs.c cf_decomp.c rat_num.c sieve_eratosthenes.c subfunc_cfbrap.c subfunc_gcd.c subfunc_gmp_prob_prime.c subfunc_pfact_18.c -lgmp
27 #
28 #Copy all the source files to the right locations so they will be publicly available
29 #to meet the license terms of the GMP.
30 #cp arith_large_cgi.c /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/arith_large_cgi.c.txt
31 #cp auxfuncs.c /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/auxfuncs.c.txt
32 #cp auxfuncs.h /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/auxfuncs.h.txt
33 #cp build /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/build.txt
34 #cp sieve_eratosthenes.c /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/sieve_eratosthenes.c.txt
35 #cp sieve_eratosthenes.h /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/sieve_eratosthenes.h.txt
36 #cp sieve_gen.c /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/sieve_gen.c.txt
37 #cp subfunc_gcd.c /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/subfunc_gcd.c.txt
38 #cp subfunc_gcd.h /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/subfunc_gcd.h.txt
39 #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
40 #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
41 #cp subfunc_pfact_18.c /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/subfunc_pfact_18.c.txt
42 #cp subfunc_pfact_18.h /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/subfunc_pfact_18.h.txt
43 #
44 #Also copy the PHP scripts.
45 #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
46 #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
47 #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
48 #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
49 #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
50 #
51 #********************************************************************************
52 #End of file BUILD.
53 #********************************************************************************

Properties

Name Value
svn:eol-style native
svn:executable *
svn:keywords Header

dashley@gmail.com
ViewVC Help
Powered by ViewVC 1.1.25