Hello everyone
I was finally able to get a static library built from libtommath and when I build the static library project, I get this message in the build log
-------------- Build: Debug in tommath ---------------
Compiling: bn_error.c
Compiling: bn_fast_mp_invmod.c
Compiling: bn_fast_mp_montgomery_reduce.c
Compiling: bn_fast_s_mp_mul_digs.c
Compiling: bn_fast_s_mp_mul_high_digs.c
Compiling: bn_fast_s_mp_sqr.c
Compiling: bn_mp_2expt.c
Compiling: bn_mp_abs.c
Compiling: bn_mp_add.c
Compiling: bn_mp_add_d.c
Compiling: bn_mp_addmod.c
Compiling: bn_mp_and.c
Compiling: bn_mp_clamp.c
Compiling: bn_mp_clear.c
Compiling: bn_mp_clear_multi.c
Compiling: bn_mp_cmp.c
Compiling: bn_mp_cmp_d.c
Compiling: bn_mp_cmp_mag.c
Compiling: bn_mp_cnt_lsb.c
Compiling: bn_mp_copy.c
Compiling: bn_mp_count_bits.c
Compiling: bn_mp_div.c
Compiling: bn_mp_div_2.c
Compiling: bn_mp_div_2d.c
Compiling: bn_mp_div_3.c
Compiling: bn_mp_div_d.c
Compiling: bn_mp_dr_is_modulus.c
Compiling: bn_mp_dr_reduce.c
Compiling: bn_mp_dr_setup.c
Compiling: bn_mp_exch.c
Compiling: bn_mp_expt_d.c
Compiling: bn_mp_exptmod.c
Compiling: bn_mp_exptmod_fast.c
Compiling: bn_mp_exteuclid.c
Compiling: bn_mp_fread.c
Compiling: bn_mp_fwrite.c
Compiling: bn_mp_gcd.c
Compiling: bn_mp_get_int.c
Compiling: bn_mp_grow.c
Compiling: bn_mp_init.c
Compiling: bn_mp_init_copy.c
Compiling: bn_mp_init_multi.c
Compiling: bn_mp_init_set.c
Compiling: bn_mp_init_set_int.c
Compiling: bn_mp_init_size.c
Compiling: bn_mp_invmod.c
Compiling: bn_mp_invmod_slow.c
Compiling: bn_mp_is_square.c
Compiling: bn_mp_jacobi.c
Compiling: bn_mp_karatsuba_mul.c
Compiling: bn_mp_karatsuba_sqr.c
Compiling: bn_mp_lcm.c
Compiling: bn_mp_lshd.c
Compiling: bn_mp_mod.c
Compiling: bn_mp_mod_2d.c
Compiling: bn_mp_mod_d.c
Compiling: bn_mp_montgomery_calc_normalization.c
Compiling: bn_mp_montgomery_reduce.c
Compiling: bn_mp_montgomery_setup.c
Compiling: bn_mp_mul.c
Compiling: bn_mp_mul_2.c
Compiling: bn_mp_mul_2d.c
Compiling: bn_mp_mul_d.c
Compiling: bn_mp_mulmod.c
Compiling: bn_mp_n_root.c
Compiling: bn_mp_neg.c
Compiling: bn_mp_or.c
Compiling: bn_mp_prime_fermat.c
Compiling: bn_mp_prime_is_divisible.c
Compiling: bn_mp_prime_is_prime.c
Compiling: bn_mp_prime_miller_rabin.c
Compiling: bn_mp_prime_next_prime.c
Compiling: bn_mp_prime_rabin_miller_trials.c
Compiling: bn_mp_prime_random_ex.c
Compiling: bn_mp_radix_size.c
Compiling: bn_mp_radix_smap.c
Compiling: bn_mp_rand.c
Compiling: bn_mp_read_radix.c
Compiling: bn_mp_read_signed_bin.c
Compiling: bn_mp_read_unsigned_bin.c
Compiling: bn_mp_reduce.c
Compiling: bn_mp_reduce_2k.c
Compiling: bn_mp_reduce_2k_l.c
Compiling: bn_mp_reduce_2k_setup.c
Compiling: bn_mp_reduce_2k_setup_l.c
Compiling: bn_mp_reduce_is_2k.c
Compiling: bn_mp_reduce_is_2k_l.c
Compiling: bn_mp_reduce_setup.c
Compiling: bn_mp_rshd.c
Compiling: bn_mp_set.c
Compiling: bn_mp_set_int.c
Compiling: bn_mp_shrink.c
Compiling: bn_mp_signed_bin_size.c
Compiling: bn_mp_sqr.c
Compiling: bn_mp_sqrmod.c
Compiling: bn_mp_sqrt.c
Compiling: bn_mp_sub.c
Compiling: bn_mp_sub_d.c
Compiling: bn_mp_submod.c
Compiling: bn_mp_to_signed_bin.c
Compiling: bn_mp_to_signed_bin_n.c
Compiling: bn_mp_to_unsigned_bin.c
Compiling: bn_mp_to_unsigned_bin_n.c
Compiling: bn_mp_toom_mul.c
Compiling: bn_mp_toom_sqr.c
Compiling: bn_mp_toradix.c
Compiling: bn_mp_toradix_n.c
Compiling: bn_mp_unsigned_bin_size.c
Compiling: bn_mp_xor.c
Compiling: bn_mp_zero.c
Compiling: bn_prime_tab.c
Compiling: bn_reverse.c
Compiling: bn_s_mp_add.c
Compiling: bn_s_mp_exptmod.c
Compiling: bn_s_mp_mul_digs.c
Compiling: bn_s_mp_mul_high_digs.c
Compiling: bn_s_mp_sqr.c
Compiling: bn_s_mp_sub.c
Compiling: bncore.c
Linking static library: libtommath.a
ar.exe: creating libtommath.a
Output size is 648.07 KB
Process terminated with status 0 (0 minutes, 6 seconds)
0 errors, 0 warnings
my main question is with the
Linking static library: libtommath.a
ar.exe: creating libtommath.a part
Is it possible to see the command line version of this process, ie, what command codeblocks is actually invoking and with what parameters?
I can see that codeblocks creates a .o file of the individual .c files which is a good thing, however doing that through the command line individually will be very tedious
so trying to build the whole thing through command line will be very difficult for me and if I use codeblocks, it executes the linking command and the ar.exe command by itself and I have no idea what parameter codeblocks invoked
Is there any way to view this in more detail in codeblocks?
Thank you
And a Happy New Year 2012 to everyone at the codeblocks forum