找回密码
 欢迎注册
楼主: 〇〇

[讨论] mathe能否提供更新的windows版gmp库

[复制链接]
发表于 2011-1-10 00:28:38 | 显示全部楼层
我猜在你的def文件里含有 mpz_out_str 的那行一定有问题
毋因群疑而阻独见  毋任己意而废人言
毋私小惠而伤大体  毋借公论以快私情
发表于 2011-1-10 14:27:20 | 显示全部楼层
Microsoft (R) COFF/PE Dumper Version 8.00.50727.42 Copyright (C) Microsoft Corporation. All rights reserved. Dump of file libgmp-10.dll File Type: DLL Section contains the following exports for libgmp-10.dll 00000000 characteristics 4D2A9E4B time date stamp Mon Jan 10 13:51:07 2011 0.00 version 1 ordinal base 534 number of functions 534 number of names ordinal hint RVA name 1 0 000510FC __gmp_0 2 1 0004A000 __gmp_allocate_func 3 2 00041310 __gmp_asprintf 4 3 00041420 __gmp_asprintf_final 5 4 00055450 __gmp_asprintf_funs 6 5 00041340 __gmp_asprintf_memory 7 6 000413B0 __gmp_asprintf_reps 8 7 00001300 __gmp_assert_fail 9 8 00001280 __gmp_assert_header 10 9 000512E0 __gmp_binvert_limb_table 11 A 000510F8 __gmp_bits_per_limb 12 B 000015A0 __gmp_default_allocate 13 C 0004A060 __gmp_default_fp_limb_precision 14 D 00001540 __gmp_default_free 15 E 00001550 __gmp_default_reallocate 16 F 00051100 __gmp_digit_value_tab 17 10 00001410 __gmp_divide_by_zero 18 11 00041460 __gmp_doprnt 19 12 00042600 __gmp_doprnt_integer 20 13 00041D00 __gmp_doprnt_mpf2 21 14 000430E0 __gmp_doscan 22 15 00057038 __gmp_errno 23 16 000013D0 __gmp_exception 24 17 00001420 __gmp_extract_double 25 18 000523C0 __gmp_fib_table 26 19 00042A70 __gmp_fprintf 27 1A 00055420 __gmp_fprintf_funs 28 1B 0004A008 __gmp_free_func 29 1C 00043DD0 __gmp_fscanf 30 1D 0005566C __gmp_fscanf_funs 31 1E 000015E0 __gmp_get_memory_functions 32 1F 00002680 __gmp_init_primesieve 33 20 00001520 __gmp_invalid_operation 34 21 00057A88 __gmp_junk 35 22 00001E40 __gmp_mt_recalc_buffer 36 23 00002440 __gmp_nextprime 37 24 00042AA0 __gmp_printf 38 25 000016A0 __gmp_randclear = ___gmp_tmp_reentrant_alloc 39 26 00001DD0 __gmp_randclear_mt 40 27 00001F00 __gmp_randget_mt 41 28 00001660 __gmp_randinit 42 29 000016C0 __gmp_randinit_default 43 2A 00001CC0 __gmp_randinit_lc_2exp 44 2B 000016F0 __gmp_randinit_lc_2exp_size 45 2C 000022F0 __gmp_randinit_mt 46 2D 00002010 __gmp_randinit_mt_noseed 47 2E 000016D0 __gmp_randinit_set 48 2F 00001DF0 __gmp_randiset_mt 49 30 00057A8C __gmp_rands 50 31 0005703C __gmp_rands_initialized 51 32 00002310 __gmp_randseed 52 33 00002330 __gmp_randseed_ui 53 34 0004A004 __gmp_reallocate_func 54 35 00043E10 __gmp_scanf 55 36 00001620 __gmp_set_memory_functions 56 37 00042BC0 __gmp_snprintf 57 38 00055430 __gmp_snprintf_funs 58 39 00042DA0 __gmp_sprintf 59 3A 00055440 __gmp_sprintf_funs 60 3B 00001400 __gmp_sqrt_of_negative 61 3C 00043E40 __gmp_sscanf 62 3D 0005567C __gmp_sscanf_funs 63 3E 000026A0 __gmp_tmp_reentrant_alloc 64 3F 000026E0 __gmp_tmp_reentrant_free 65 40 00002370 __gmp_urandomb_ui 66 41 000023B0 __gmp_urandomm_ui 67 42 00042F30 __gmp_vasprintf 68 43 00052018 __gmp_version 69 44 00042F90 __gmp_vfprintf = ___dyn_tls_dtor@12 70 45 00043EF0 __gmp_vfscanf 71 46 00042FC0 __gmp_vprintf 72 47 00043F20 __gmp_vscanf 73 48 00042FF0 __gmp_vsnprintf 74 49 00043030 __gmp_vsprintf 75 4A 00043F50 __gmp_vsscanf 76 4B 00006B80 __gmpf_abs 77 4C 000046F0 __gmpf_add 78 4D 00004A40 __gmpf_add_ui 79 4E 000073F0 __gmpf_ceil 80 4F 000034A0 __gmpf_clear 81 50 000034D0 __gmpf_clears = _fprintf 82 51 000065C0 __gmpf_cmp 83 52 000066E0 __gmpf_cmp_d = ___gmpf_fits_sshort_p 84 53 00006830 __gmpf_cmp_si 85 54 000067A0 __gmpf_cmp_ui 86 55 000061B0 __gmpf_div 87 56 00006A50 __gmpf_div_2exp 88 57 00006430 __gmpf_div_ui = ___gmpf_trunc 89 58 00003D50 __gmpf_dump = ___gmpn_add_1.clone.1 90 59 00003E00 __gmpf_eq 91 5A 00007660 __gmpf_fits_sint_p 92 5B 000076A0 __gmpf_fits_slong_p 93 5C 000076E0 __gmpf_fits_sshort_p 94 5D 00007720 __gmpf_fits_uint_p 95 5E 00007750 __gmpf_fits_ulong_p 96 5F 00007780 __gmpf_fits_ushort_p 97 60 00007410 __gmpf_floor 98 61 00006E00 __gmpf_get_d 99 62 00006E50 __gmpf_get_d_2exp 100 63 00006FB0 __gmpf_get_default_prec 101 64 00006FC0 __gmpf_get_prec 102 65 000077C0 __gmpf_get_si 103 66 00003670 __gmpf_get_str 104 67 00007820 __gmpf_get_ui 105 68 00002710 __gmpf_init 106 69 00002750 __gmpf_init2 107 6A 000032B0 __gmpf_init_set 108 6B 00003460 __gmpf_init_set_d 109 6C 00003390 __gmpf_init_set_si 110 6D 000033F0 __gmpf_init_set_str 111 6E 00003340 __gmpf_init_set_ui 112 6F 000027A0 __gmpf_inits 113 70 00004300 __gmpf_inp_str 114 71 00007860 __gmpf_integer_p 115 72 00005E50 __gmpf_mul = ___gmpf_get_d_2exp 116 73 00006910 __gmpf_mul_2exp 117 74 00006020 __gmpf_mul_ui 118 75 00006BF0 __gmpf_neg 119 76 00004500 __gmpf_out_str 120 77 000074E0 __gmpf_pow_ui 121 78 00004220 __gmpf_random2 122 79 00003FF0 __gmpf_reldiff 123 7A 000027D0 __gmpf_set 124 7B 000031B0 __gmpf_set_d 125 7C 00006EC0 __gmpf_set_default_prec 126 7D 00006EE0 __gmpf_set_prec 127 7E 00006F90 __gmpf_set_prec_raw 128 7F 00006C70 __gmpf_set_q 129 80 00002870 __gmpf_set_si 130 81 000028B0 __gmpf_set_str 131 82 00002850 __gmpf_set_ui 132 83 00003240 __gmpf_set_z 133 84 00003DE0 __gmpf_size = ___gmpf_sub 134 85 000040D0 __gmpf_sqrt 135 86 00007160 __gmpf_sqrt_ui 136 87 00004DE0 __gmpf_sub 137 88 000056A0 __gmpf_sub_ui 138 89 00007620 __gmpf_swap 139 8A 00007430 __gmpf_trunc 140 8B 00006FD0 __gmpf_ui_div 141 8C 000057A0 __gmpf_ui_sub = ___gmpf_cmp_ui 142 8D 00007580 __gmpf_urandomb 143 8E 00017F10 __gmpn_add 144 8F 00017FA0 __gmpn_add_1 145 90 00018050 __gmpn_add_n 146 91 000180F7 __gmpn_add_nc 147 92 000184E0 __gmpn_addmul_1 148 93 000184C0 __gmpn_addmul_1c 149 94 0003F1E0 __gmpn_addmul_2 150 95 00041000 __gmpn_and_n 151 96 00041030 __gmpn_andn_n 152 97 000524A0 __gmpn_bases 153 98 00038320 __gmpn_bc_mulmod_bnm1 154 99 00020CB0 __gmpn_bc_set_str 155 9A 0003F070 __gmpn_bdiv_dbm1c 156 9B 0003EA90 __gmpn_bdiv_q 157 9C 0003CE10 __gmpn_bdiv_q_1 158 9D 0003EBE0 __gmpn_bdiv_q_itch 159 9E 0003EC10 __gmpn_bdiv_qr 160 9F 0003EDC0 __gmpn_bdiv_qr_itch 161 A0 00038100 __gmpn_binvert 162 A1 000380C0 __gmpn_binvert_itch 163 A2 000215E0 __gmpn_cmp 164 A3 00018330 __gmpn_com 165 A4 00041200 __gmpn_copyd 166 A5 000411E0 __gmpn_copyi 167 A6 00020F00 __gmpn_dc_set_str 168 A7 0003D330 __gmpn_dcpi1_bdiv_q 169 A8 0003D1B0 __gmpn_dcpi1_bdiv_q_n 170 A9 0003D1A0 __gmpn_dcpi1_bdiv_q_n_itch 171 AA 0003D7E0 __gmpn_dcpi1_bdiv_qr 172 AB 0003D5F0 __gmpn_dcpi1_bdiv_qr_n 173 AC 0003D5E0 __gmpn_dcpi1_bdiv_qr_n_itch 174 AD 0003A160 __gmpn_dcpi1_div_q
毋因群疑而阻独见  毋任己意而废人言
毋私小惠而伤大体  毋借公论以快私情
发表于 2011-1-10 14:27:59 | 显示全部楼层
175 AE 0003A680 __gmpn_dcpi1_div_qr = ___gmpn_add_1.clone.0 176 AF 0003A390 __gmpn_dcpi1_div_qr_n 177 B0 0003B010 __gmpn_dcpi1_divappr_q 178 B1 0003ADD0 __gmpn_dcpi1_divappr_q_n 179 B2 00024A10 __gmpn_div_q 180 B3 0003EDF0 __gmpn_divexact 181 B4 00018B20 __gmpn_divexact_1 182 B5 00001340 __gmpn_divexact_by3 183 B6 00018C20 __gmpn_divexact_by3c 184 B7 00018C60 __gmpn_divisible_p 185 B8 00001380 __gmpn_divmod_1 186 B9 000190E0 __gmpn_divrem 187 BA 000194D1 __gmpn_divrem_1 188 BB 000194A0 __gmpn_divrem_1c 189 BC 00019750 __gmpn_divrem_2 190 BD 00019E70 __gmpn_dump 191 BE 0001C200 __gmpn_fft_best_k 192 BF 0001CF80 __gmpn_fft_next_size 193 C0 000198C0 __gmpn_fib2_ui 194 C1 000227F0 __gmpn_gcd 195 C2 00022700 __gmpn_gcd_1 196 C3 00023930 __gmpn_gcd_lehmer_n 197 C4 00023C90 __gmpn_gcd_subdiv_step 198 C5 00022B80 __gmpn_gcdext 199 C6 00022AA0 __gmpn_gcdext_1 200 C7 00023E30 __gmpn_gcdext_lehmer_n 201 C8 00024470 __gmpn_gcdext_subdiv_step 202 C9 00026470 __gmpn_get_d 203 CA 00020590 __gmpn_get_str 204 CB 00021540 __gmpn_hamdist 205 CC 000287A0 __gmpn_hgcd 206 CD 000272B0 __gmpn_hgcd2 207 CE 00028760 __gmpn_hgcd_itch 208 CF 00028360 __gmpn_hgcd_lehmer 209 D0 000284B0 __gmpn_hgcd_matrix_adjust 210 D1 000282F0 __gmpn_hgcd_matrix_init 211 D2 000283D0 __gmpn_hgcd_matrix_mul 212 D3 00027980 __gmpn_hgcd_mul_matrix1_inverse_vector 213 D4 000278B0 __gmpn_hgcd_mul_matrix1_vector 214 D5 00037E00 __gmpn_invert 215 D6 000412C0 __gmpn_invert_limb 216 D7 00037D40 __gmpn_invertappr 217 D8 000410B0 __gmpn_ior_n 218 D9 000410E0 __gmpn_iorn_n 219 DA 000263F0 __gmpn_jacobi_base 220 DB 00018840 __gmpn_lshift 221 DC 0001A710 __gmpn_lshiftc 222 DD 00027010 __gmpn_matrix22_mul 223 DE 00026740 __gmpn_matrix22_mul_itch 224 DF 00026770 __gmpn_matrix22_mul_strassen 225 E0 00019AE0 __gmpn_mod_1 226 E1 00019FB0 __gmpn_mod_1_1p 227 E2 00019F20 __gmpn_mod_1_1p_cps 228 E3 0001A160 __gmpn_mod_1s_2p 229 E4 0001A0A0 __gmpn_mod_1s_2p_cps 230 E5 0001A390 __gmpn_mod_1s_3p 231 E6 0001A2B0 __gmpn_mod_1s_3p_cps 232 E7 0001A500 __gmpn_mod_1s_4p 233 E8 0001A647 __gmpn_mod_1s_4p_cps 234 E9 00019CB0 __gmpn_mod_34lsub1 235 EA 00019D90 __gmpn_modexact_1_odd 236 EB 00019D80 __gmpn_modexact_1c_odd 237 EC 0003DB30 __gmpn_mu_bdiv_q 238 ED 0003E150 __gmpn_mu_bdiv_q_itch 239 EE 0003E250 __gmpn_mu_bdiv_qr = ___gmpn_redc_2 240 EF 0003E990 __gmpn_mu_bdiv_qr_itch 241 F0 0003C7B0 __gmpn_mu_div_q 242 F1 0003CCA0 __gmpn_mu_div_q_itch 243 F2 0003BCF0 __gmpn_mu_div_qr 244 F3 0003BAF0 __gmpn_mu_div_qr_choose_in 245 F4 0003BF30 __gmpn_mu_div_qr_itch 246 F5 0003C480 __gmpn_mu_divappr_q 247 F6 0003C3F0 __gmpn_mu_divappr_q_choose_in 248 F7 0003C610 __gmpn_mu_divappr_q_itch 249 F8 0001A7B0 __gmpn_mul 250 F9 00018380 __gmpn_mul_1 251 FA 00018360 __gmpn_mul_1c 252 FB 0001D7A0 __gmpn_mul_basecase 253 FC 0001CF90 __gmpn_mul_fft 254 FD 0001D450 __gmpn_mul_n 255 FE 00028D50 __gmpn_mullo_basecase 256 FF 00028C60 __gmpn_mullo_n 257 100 00038390 __gmpn_mulmod_bnm1 258 101 000389D0 __gmpn_mulmod_bnm1_next_size 259 102 00041070 __gmpn_nand_n 260 103 000182F0 __gmpn_neg 261 104 000377A0 __gmpn_ni_invertappr 262 105 00041120 __gmpn_nior_n 263 106 0001E6D0 __gmpn_nussbaumer_mul 264 107 000220A0 __gmpn_perfect_power_p 265 108 00021620 __gmpn_perfect_square_p 266 109 0003CD20 __gmpn_pi1_bdiv_q_1 267 10A 000213A0 __gmpn_popcount 268 10B 0001EA60 __gmpn_pow_1 269 10C 0003FFB0 __gmpn_powlo 270 10D 0003F650 __gmpn_powm 271 10E 00040480 __gmpn_powm_sec 272 10F 000408F0 __gmpn_powm_sec_itch 273 110 00019430 __gmpn_preinv_divrem_1 274 111 00019E10 __gmpn_preinv_mod_1 275 112 0003B710 __gmpn_preinv_mu_div_qr 276 113 0003BF90 __gmpn_preinv_mu_divappr_q 277 114 0001E850 __gmpn_random 278 115 0001E8E0 __gmpn_random2 279 116 0003F120 __gmpn_redc_1 280 117 00040990 __gmpn_redc_1_sec 281 118 0003F250 __gmpn_redc_2 282 119 0003F3A0 __gmpn_redc_n 283 11A 00040B30 __gmpn_remove 284 11B 0001F8D0 __gmpn_rootrem 285 11C 000189B8 __gmpn_rshift 286 11D 0003CE80 __gmpn_sbpi1_bdiv_q 287 11E 0003CFE0 __gmpn_sbpi1_bdiv_qr 288 11F 00038F50 __gmpn_sbpi1_div_q 289 120 000397F0 __gmpn_sbpi1_div_qr 290 121 00039A80 __gmpn_sbpi1_divappr_q 291 122 00021310 __gmpn_scan0 292 123 00021360 __gmpn_scan1 293 124 00021180 __gmpn_set_str 294 125 00020AF0 __gmpn_set_str_compute_powtab 295 126 0001D620 __gmpn_sqr 296 127 0001DEF0 __gmpn_sqr_basecase 297 128 00038A50 __gmpn_sqrmod_bnm1 298 129 00038ED0 __gmpn_sqrmod_bnm1_next_size 299 12A 0001FDF0 __gmpn_sqrtrem 300 12B 00018100 __gmpn_sub 301 12C 00018190 __gmpn_sub_1 302 12D 00018240 __gmpn_sub_n 303 12E 000182E7 __gmpn_sub_nc 304 12F 00040930 __gmpn_subcnd_n 305 130 00018687 __gmpn_submul_1 306 131 00018680 __gmpn_submul_1c 307 132 000403E0 __gmpn_tabselect 308 133 000256B0 __gmpn_tdiv_qr 309 134 00028DD0 __gmpn_toom22_mul 310 135 00033290 __gmpn_toom2_sqr 311 136 00029400 __gmpn_toom32_mul 312 137 0002B1F0 __gmpn_toom33_mul 313 138 00033610 __gmpn_toom3_sqr 314 139 00029BE0 __gmpn_toom42_mul 315 13A 0002B770 __gmpn_toom43_mul 316 13B 0002CAC0 __gmpn_toom44_mul 317 13C 00033900 __gmpn_toom4_sqr 318 13D 0002A1F0 __gmpn_toom52_mul = ___gmpn_toom33_mul 319 13E 0002BC50 __gmpn_toom53_mul 320 13F 0002A890 __gmpn_toom62_mul 321 140 0002C440 __gmpn_toom63_mul 322 141 0002EB40 __gmpn_toom6_sqr 323 142 0002D450 __gmpn_toom6h_mul 324 143 00031820 __gmpn_toom8_sqr 325 144 0002EF80 __gmpn_toom8h_mul 326 145 00033160 __gmpn_toom_couple_handling = ___gmpn_toom_eval_pm1 327 146 00033EF0 __gmpn_toom_eval_dgr3_pm1 328 147 00033FE0 __gmpn_toom_eval_dgr3_pm2 329 148 00034160 __gmpn_toom_eval_pm1 330 149 000343E0 __gmpn_toom_eval_pm2 331 14A 00034680 __gmpn_toom_eval_pm2exp 332 14B 00034A10 __gmpn_toom_eval_pm2rexp 333 14C 00036030 __gmpn_toom_interpolate_12pts 334 14D 00036930 __gmpn_toom_interpolate_16pts 335 14E 00034CA0 __gmpn_toom_interpolate_5pts 336 14F 00035000 __gmpn_toom_interpolate_6pts 337 150 00035540 __gmpn_toom_interpolate_7pts 338 151 00035AF0 __gmpn_toom_interpolate_8pts 339 152 00040A40 __gmpn_trialdiv 340 153 000412A8 __gmpn_udiv_qrnnd 341 154 00041290 __gmpn_umul_ppmm 342 155 00041190 __gmpn_xnor_n 343 156 00041160 __gmpn_xor_n 344 157 00041270 __gmpn_zero 345 158 00015BB0 __gmpq_abs 346 159 00015F60 __gmpq_add 347 15A 00015FA0 __gmpq_canonicalize 348 15B 00016090 __gmpq_clear 349 15C 000160D0 __gmpq_clears 350 15D 00016100 __gmpq_cmp 351 15E 000163B0 __gmpq_cmp_si 352 15F 00016440 __gmpq_cmp_ui 353 160 00016610 __gmpq_div 354 161 000170B0 __gmpq_div_2exp 355 162 000178A0 __gmpq_equal 356 163 00016900 __gmpq_get_d 357 164 00016A80 __gmpq_get_den 358 165 00016AE0 __gmpq_get_num 359 166 00016B50 __gmpq_get_str 360 167 00016C80 __gmpq_init 361 168 00016CD0 __gmpq_inits 362 169 00016D00 __gmpq_inp_str 363 16A 00016E00 __gmpq_inv 364 16B 00017130 __gmpq_mul 365 16C 00017080 __gmpq_mul_2exp 366 16D 000173D0 __gmpq_neg 367 16E 00017490 __gmpq_out_str 368 16F 00017550 __gmpq_set 369 170 000179D0 __gmpq_set_d 370 171 000175F0 __gmpq_set_den 371 172 00017CA0 __gmpq_set_f 372 173 00017660 __gmpq_set_num 373 174 000176D0 __gmpq_set_si 374 175 00017740 __gmpq_set_str 375 176 00017850 __gmpq_set_ui 376 177 00017950 __gmpq_set_z 377 178 00015F80 __gmpq_sub 378 179 00017EC0 __gmpq_swap 379 17A 000078C0 __gmpz_abs 380 17B 00007930 __gmpz_add 381 17C 00007B10 __gmpz_add_ui 382 17D 00007F00 __gmpz_addmul 383 17E 00008300 __gmpz_addmul_ui 384 17F 00008490 __gmpz_and 385 180 00007F40 __gmpz_aorsmul_1 386 181 00008890 __gmpz_array_init 387 182 00008900 __gmpz_bin_ui 388 183 00008B70 __gmpz_bin_uiui 389 184 00008DC0 __gmpz_cdiv_q 390 185 000095C0 __gmpz_cdiv_q_2exp 391 186 00008E90 __gmpz_cdiv_q_ui 392 187 00008F90 __gmpz_cdiv_qr 393 188 000090A0 __gmpz_cdiv_qr_ui 394 189 000091C0 __gmpz_cdiv_r 395 18A 00009860 __gmpz_cdiv_r_2exp 396 18B 000092A0 __gmpz_cdiv_r_ui 397 18C 00009350 __gmpz_cdiv_ui 398 18D 000098A0 __gmpz_clear 399 18E 000098C0 __gmpz_clears 400 18F 000098F0 __gmpz_clrbit 401 190 00009A80 __gmpz_cmp 402 191 00009B00 __gmpz_cmp_d 403 192 00009CC0 __gmpz_cmp_si = ___gmpz_divexact_ui 404 193 00009D20 __gmpz_cmp_ui 405 194 00009D60 __gmpz_cmpabs 406 195 00009DD0 __gmpz_cmpabs_d 407 196 00009F40 __gmpz_cmpabs_ui 408 197 0000A0E0 __gmpz_com 409 198 0000A1A0 __gmpz_combit 410 199 0000A690 __gmpz_congruent_2exp_p 411 19A 0000A360 __gmpz_congruent_p 412 19B 0000A890 __gmpz_congruent_ui_p 413 19C 0000A9D0 __gmpz_divexact 414 19D 0000ABE0 __gmpz_divexact_gcd 415 19E 0000ACC0 __gmpz_divexact_ui 416 19F 0000AE80 __gmpz_divisible_2exp_p 417 1A0 0000AD80 __gmpz_divisible_p 418 1A1 0000ADE0 __gmpz_divisible_ui_p 419 1A2 0000AF00 __gmpz_dump 420 1A3 0000AF50 __gmpz_export 421 1A4 0000BB40 __gmpz_fac_ui 422 1A5 0000C000 __gmpz_fdiv_q 423 1A6 000095F0 __gmpz_fdiv_q_2exp 424 1A7 0000C0D0 __gmpz_fdiv_q_ui 425 1A8 0000C1D0 __gmpz_fdiv_qr 426 1A9 0000C2E0 __gmpz_fdiv_qr_ui 427 1AA 0000C410 __gmpz_fdiv_r 428 1AB 00009880 __gmpz_fdiv_r_2exp 429 1AC 0000C4F0 __gmpz_fdiv_r_ui 430 1AD 0000C5A0 __gmpz_fdiv_ui 431 1AE 0000C870 __gmpz_fib2_ui 432 1AF 0000C610 __gmpz_fib_ui 433 1B0 0000C910 __gmpz_fits_sint_p 434 1B1 0000C950 __gmpz_fits_slong_p 435 1B2 0000C990 __gmpz_fits_sshort_p 436 1B3 0000C9D0 __gmpz_fits_uint_p 437 1B4 0000C9E0 __gmpz_fits_ulong_p 438 1B5 0000C9F0 __gmpz_fits_ushort_p 439 1B6 0000CA20 __gmpz_gcd 440 1B7 0000CED0 __gmpz_gcd_ui 441 1B8 0000CF90 __gmpz_gcdext 442 1B9 0000D450 __gmpz_get_d 443 1BA 0000D490 __gmpz_get_d_2exp 444 1BB 0000D500 __gmpz_get_si 445 1BC 0000D540 __gmpz_get_str 446 1BD 0000D7F0 __gmpz_get_ui 447 1BE 0000D810 __gmpz_getlimbn 448 1BF 0000D850 __gmpz_hamdist 449 1C0 0000DA70 __gmpz_import 450 1C1 0000DDC0 __gmpz_init 451 1C2 0000DDF0 __gmpz_init2 452 1C3 0000EAE0 __gmpz_init_set 453 1C4 0000EB50 __gmpz_init_set_d 454 1C5 0000EBA0 __gmpz_init_set_si 455 1C6 0000EC00 __gmpz_init_set_str 456 1C7 0000EC60 __gmpz_init_set_ui 457 1C8 0000DE40 __gmpz_inits 458 1C9 0000DE70 __gmpz_inp_raw 459 1CA 0000E360 __gmpz_inp_str = ___gmpz_si_kronecker 460 1CB 0000DFF0 __gmpz_inp_str_nowhite 461 1CC 0000E400 __gmpz_invert 462 1CD 0000E6D0 __gmpz_ior 463 1CE 0000ECB0 __gmpz_jacobi 464 1CF 0000F670 __gmpz_kronecker_si 465 1D0 0000F7B0 __gmpz_kronecker_ui 466 1D1 0000F8B0 __gmpz_lcm = ___gmpz_mul_si 467 1D2 0000FA50 __gmpz_lcm_ui 468 1D3 000013C0 __gmpz_legendre 469 1D4 0000FE30 __gmpz_lucnum2_ui 470 1D5 0000FB20 __gmpz_lucnum_ui 471 1D6 00010010 __gmpz_millerrabin 472 1D7 00010370 __gmpz_mod 473 1D8 00010470 __gmpz_mul 474 1D9 00010770 __gmpz_mul_2exp 475 1DA 000108B0 __gmpz_mul_si 476 1DB 00010980 __gmpz_mul_ui 477 1DC 00010A40 __gmpz_n_pow_ui 478 1DD 00011030 __gmpz_neg 479 1DE 000110A0 __gmpz_nextprime 480 1DF 00011280 __gmpz_out_raw 481 1E0 00011380 __gmpz_out_str 482 1E1 000115F0 __gmpz_perfect_power_p 483 1E2 00011610 __gmpz_perfect_square_p 484 1E3 00011640 __gmpz_popcount 485 1E4 00011670 __gmpz_pow_ui 486 1E5 000116F0 __gmpz_powm 487 1E6 00011E70 __gmpz_powm_sec 488 1E7 00012110 __gmpz_powm_ui 489 1E8 000126A0 __gmpz_probab_prime_p 490 1E9 00012A00 __gmpz_random 491 1EA 00012A80 __gmpz_random2 492 1EB 00012AE0 __gmpz_realloc 493 1EC 00012B70 __gmpz_realloc2 494 1ED 00012BD0 __gmpz_remove 495 1EE 00012DF0 __gmpz_root 496 1EF 00012FC0 __gmpz_rootrem 497 1F0 00013230 __gmpz_rrandomb 498 1F1 00013390 __gmpz_scan0 499 1F2 000134A0 __gmpz_scan1 500 1F3 000135C0 __gmpz_set 501 1F4 00013630 __gmpz_set_d 502 1F5 00013760 __gmpz_set_f 503 1F6 00013810 __gmpz_set_q 504 1F7 00013840 __gmpz_set_si 505 1F8 00013870 __gmpz_set_str 506 1F9 00013BA0 __gmpz_set_ui 507 1FA 00013BC0 __gmpz_setbit 508 1FB 0000F360 __gmpz_si_kronecker 509 1FC 00013D70 __gmpz_size 510 1FD 00013D90 __gmpz_sizeinbase 511 1FE 00013E30 __gmpz_sqrt 512 1FF 00013FE0 __gmpz_sqrtrem 513 200 00014200 __gmpz_sub = ___gmpz_ui_pow_ui 514 201 00014410 __gmpz_sub_ui 515 202 00007F20 __gmpz_submul 516 203 00008330 __gmpz_submul_ui 517 204 000144F0 __gmpz_swap 518 205 00014560 __gmpz_tdiv_q 519 206 000147F0 __gmpz_tdiv_q_2exp 520 207 000148D0 __gmpz_tdiv_q_ui 521 208 00014990 __gmpz_tdiv_qr 522 209 00014C40 __gmpz_tdiv_qr_ui 523 20A 00014D40 __gmpz_tdiv_r 524 20B 00014FB0 __gmpz_tdiv_r_2exp 525 20C 000150E0 __gmpz_tdiv_r_ui 526 20D 00014520 __gmpz_tdiv_ui 527 20E 00015160 __gmpz_tstbit 528 20F 0000F520 __gmpz_ui_kronecker 529 210 00015200 __gmpz_ui_pow_ui 530 211 00015240 __gmpz_ui_sub 531 212 00015350 __gmpz_urandomb 532 213 000153D0 __gmpz_urandomm 533 214 000156F0 __gmpz_xor 534 215 00049338 _get_output_format Summary 1000 .CRT 1000 .bss 7000 .data 4000 .edata 1000 .eh_fram 1000 .idata 5000 .rdata 1000 .reloc 49000 .text 1000 .tls
毋因群疑而阻独见  毋任己意而废人言
毋私小惠而伤大体  毋借公论以快私情
发表于 2011-1-10 14:29:30 | 显示全部楼层
编译时提供的------def文件,(试一试4.3版的看看)。 -------------------------------------------------------------
  1. EXPORTS
  2. __gmp_0 @1 DATA
  3. __gmp_allocate_func @2 DATA
  4. __gmp_asprintf @3
  5. __gmp_asprintf_final @4
  6. __gmp_asprintf_funs @5 DATA
  7. __gmp_asprintf_memory @6
  8. __gmp_asprintf_reps @7
  9. __gmp_assert_fail @8
  10. __gmp_assert_header @9
  11. __gmp_binvert_limb_table @10 DATA
  12. __gmp_bits_per_limb @11 DATA
  13. __gmp_default_allocate @12
  14. __gmp_default_fp_limb_precision @13 DATA
  15. __gmp_default_free @14
  16. __gmp_default_reallocate @15
  17. __gmp_digit_value_tab @16 DATA
  18. __gmp_divide_by_zero @17
  19. __gmp_doprnt @18
  20. __gmp_doprnt_integer @19
  21. __gmp_doprnt_mpf2 @20
  22. __gmp_doscan @21
  23. __gmp_errno @22 DATA
  24. __gmp_exception @23
  25. __gmp_extract_double @24
  26. __gmp_fib_table @25 DATA
  27. __gmp_fprintf @26
  28. __gmp_fprintf_funs @27 DATA
  29. __gmp_free_func @28 DATA
  30. __gmp_fscanf @29
  31. __gmp_fscanf_funs @30 DATA
  32. __gmp_get_memory_functions @31
  33. __gmp_init_primesieve @32
  34. __gmp_invalid_operation @33
  35. __gmp_junk @34 DATA
  36. __gmp_mt_recalc_buffer @35
  37. __gmp_nextprime @36
  38. __gmp_printf @37
  39. __gmp_randclear @38
  40. __gmp_randclear_mt @39
  41. __gmp_randget_mt @40
  42. __gmp_randinit @41
  43. __gmp_randinit_default @42
  44. __gmp_randinit_lc_2exp @43
  45. __gmp_randinit_lc_2exp_size @44
  46. __gmp_randinit_mt @45
  47. __gmp_randinit_mt_noseed @46
  48. __gmp_randinit_set @47
  49. __gmp_randiset_mt @48
  50. __gmp_rands @49 DATA
  51. __gmp_rands_initialized @50 DATA
  52. __gmp_randseed @51
  53. __gmp_randseed_ui @52
  54. __gmp_reallocate_func @53 DATA
  55. __gmp_scanf @54
  56. __gmp_set_memory_functions @55
  57. __gmp_snprintf @56
  58. __gmp_snprintf_funs @57 DATA
  59. __gmp_sprintf @58
  60. __gmp_sprintf_funs @59 DATA
  61. __gmp_sqrt_of_negative @60
  62. __gmp_sscanf @61
  63. __gmp_sscanf_funs @62 DATA
  64. __gmp_tmp_reentrant_alloc @63
  65. __gmp_tmp_reentrant_free @64
  66. __gmp_urandomb_ui @65
  67. __gmp_urandomm_ui @66
  68. __gmp_vasprintf @67
  69. __gmp_version @68 DATA
  70. __gmp_vfprintf @69
  71. __gmp_vfscanf @70
  72. __gmp_vprintf @71
  73. __gmp_vscanf @72
  74. __gmp_vsnprintf @73
  75. __gmp_vsprintf @74
  76. __gmp_vsscanf @75
  77. __gmpf_abs @76
  78. __gmpf_add @77
  79. __gmpf_add_ui @78
  80. __gmpf_ceil @79
  81. __gmpf_clear @80
  82. __gmpf_clears @81
  83. __gmpf_cmp @82
  84. __gmpf_cmp_d @83
  85. __gmpf_cmp_si @84
  86. __gmpf_cmp_ui @85
  87. __gmpf_div @86
  88. __gmpf_div_2exp @87
  89. __gmpf_div_ui @88
  90. __gmpf_dump @89
  91. __gmpf_eq @90
  92. __gmpf_fits_sint_p @91
  93. __gmpf_fits_slong_p @92
  94. __gmpf_fits_sshort_p @93
  95. __gmpf_fits_uint_p @94
  96. __gmpf_fits_ulong_p @95
  97. __gmpf_fits_ushort_p @96
  98. __gmpf_floor @97
  99. __gmpf_get_d @98
  100. __gmpf_get_d_2exp @99
  101. __gmpf_get_default_prec @100
  102. __gmpf_get_prec @101
  103. __gmpf_get_si @102
  104. __gmpf_get_str @103
  105. __gmpf_get_ui @104
  106. __gmpf_init @105
  107. __gmpf_init2 @106
  108. __gmpf_init_set @107
  109. __gmpf_init_set_d @108
  110. __gmpf_init_set_si @109
  111. __gmpf_init_set_str @110
  112. __gmpf_init_set_ui @111
  113. __gmpf_inits @112
  114. __gmpf_inp_str @113
  115. __gmpf_integer_p @114
  116. __gmpf_mul @115
  117. __gmpf_mul_2exp @116
  118. __gmpf_mul_ui @117
  119. __gmpf_neg @118
  120. __gmpf_out_str @119
  121. __gmpf_pow_ui @120
  122. __gmpf_random2 @121
  123. __gmpf_reldiff @122
  124. __gmpf_set @123
  125. __gmpf_set_d @124
  126. __gmpf_set_default_prec @125
  127. __gmpf_set_prec @126
  128. __gmpf_set_prec_raw @127
  129. __gmpf_set_q @128
  130. __gmpf_set_si @129
  131. __gmpf_set_str @130
  132. __gmpf_set_ui @131
  133. __gmpf_set_z @132
  134. __gmpf_size @133
  135. __gmpf_sqrt @134
  136. __gmpf_sqrt_ui @135
  137. __gmpf_sub @136
  138. __gmpf_sub_ui @137
  139. __gmpf_swap @138
  140. __gmpf_trunc @139
  141. __gmpf_ui_div @140
  142. __gmpf_ui_sub @141
  143. __gmpf_urandomb @142
  144. __gmpn_add @143
  145. __gmpn_add_1 @144
  146. __gmpn_add_n @145
  147. __gmpn_add_nc @146
  148. __gmpn_addmul_1 @147
  149. __gmpn_addmul_1c @148
  150. __gmpn_addmul_2 @149
  151. __gmpn_and_n @150
  152. __gmpn_andn_n @151
  153. __gmpn_bases @152 DATA
  154. __gmpn_bc_mulmod_bnm1 @153
  155. __gmpn_bc_set_str @154
  156. __gmpn_bdiv_dbm1c @155
  157. __gmpn_bdiv_q @156
  158. __gmpn_bdiv_q_1 @157
  159. __gmpn_bdiv_q_itch @158
  160. __gmpn_bdiv_qr @159
  161. __gmpn_bdiv_qr_itch @160
  162. __gmpn_binvert @161
  163. __gmpn_binvert_itch @162
  164. __gmpn_cmp @163
  165. __gmpn_com @164
  166. __gmpn_copyd @165
  167. __gmpn_copyi @166
  168. __gmpn_dc_set_str @167
  169. __gmpn_dcpi1_bdiv_q @168
  170. __gmpn_dcpi1_bdiv_q_n @169
  171. __gmpn_dcpi1_bdiv_q_n_itch @170
  172. __gmpn_dcpi1_bdiv_qr @171
  173. __gmpn_dcpi1_bdiv_qr_n @172
  174. __gmpn_dcpi1_bdiv_qr_n_itch @173
  175. __gmpn_dcpi1_div_q @174
  176. __gmpn_dcpi1_div_qr @175
  177. __gmpn_dcpi1_div_qr_n @176
  178. __gmpn_dcpi1_divappr_q @177
  179. __gmpn_dcpi1_divappr_q_n @178
  180. __gmpn_div_q @179
  181. __gmpn_divexact @180
  182. __gmpn_divexact_1 @181
  183. __gmpn_divexact_by3 @182
  184. __gmpn_divexact_by3c @183
  185. __gmpn_divisible_p @184
  186. __gmpn_divmod_1 @185
  187. __gmpn_divrem @186
  188. __gmpn_divrem_1 @187
  189. __gmpn_divrem_1c @188
  190. __gmpn_divrem_2 @189
  191. __gmpn_dump @190
  192. __gmpn_fft_best_k @191
  193. __gmpn_fft_next_size @192
  194. __gmpn_fib2_ui @193
  195. __gmpn_gcd @194
  196. __gmpn_gcd_1 @195
  197. __gmpn_gcd_lehmer_n @196
  198. __gmpn_gcd_subdiv_step @197
  199. __gmpn_gcdext @198
  200. __gmpn_gcdext_1 @199
  201. __gmpn_gcdext_lehmer_n @200
  202. __gmpn_gcdext_subdiv_step @201
  203. __gmpn_get_d @202
  204. __gmpn_get_str @203
  205. __gmpn_hamdist @204
  206. __gmpn_hgcd @205
  207. __gmpn_hgcd2 @206
  208. __gmpn_hgcd_itch @207
  209. __gmpn_hgcd_lehmer @208
  210. __gmpn_hgcd_matrix_adjust @209
  211. __gmpn_hgcd_matrix_init @210
  212. __gmpn_hgcd_matrix_mul @211
  213. __gmpn_hgcd_mul_matrix1_inverse_vector @212
  214. __gmpn_hgcd_mul_matrix1_vector @213
  215. __gmpn_invert @214
  216. __gmpn_invert_limb @215
  217. __gmpn_invertappr @216
  218. __gmpn_ior_n @217
  219. __gmpn_iorn_n @218
  220. __gmpn_jacobi_base @219
  221. __gmpn_lshift @220
  222. __gmpn_lshiftc @221
  223. __gmpn_matrix22_mul @222
  224. __gmpn_matrix22_mul_itch @223
  225. __gmpn_matrix22_mul_strassen @224
  226. __gmpn_mod_1 @225
  227. __gmpn_mod_1_1p @226
  228. __gmpn_mod_1_1p_cps @227
  229. __gmpn_mod_1s_2p @228
  230. __gmpn_mod_1s_2p_cps @229
  231. __gmpn_mod_1s_3p @230
  232. __gmpn_mod_1s_3p_cps @231
  233. __gmpn_mod_1s_4p @232
  234. __gmpn_mod_1s_4p_cps @233
  235. __gmpn_mod_34lsub1 @234
  236. __gmpn_modexact_1_odd @235
  237. __gmpn_modexact_1c_odd @236
  238. __gmpn_mu_bdiv_q @237
  239. __gmpn_mu_bdiv_q_itch @238
  240. __gmpn_mu_bdiv_qr @239
  241. __gmpn_mu_bdiv_qr_itch @240
  242. __gmpn_mu_div_q @241
  243. __gmpn_mu_div_q_itch @242
  244. __gmpn_mu_div_qr @243
  245. __gmpn_mu_div_qr_choose_in @244
  246. __gmpn_mu_div_qr_itch @245
  247. __gmpn_mu_divappr_q @246
  248. __gmpn_mu_divappr_q_choose_in @247
  249. __gmpn_mu_divappr_q_itch @248
  250. __gmpn_mul @249
  251. __gmpn_mul_1 @250
  252. __gmpn_mul_1c @251
  253. __gmpn_mul_basecase @252
  254. __gmpn_mul_fft @253
  255. __gmpn_mul_n @254
  256. __gmpn_mullo_basecase @255
  257. __gmpn_mullo_n @256
  258. __gmpn_mulmod_bnm1 @257
  259. __gmpn_mulmod_bnm1_next_size @258
  260. __gmpn_nand_n @259
  261. __gmpn_neg @260
  262. __gmpn_ni_invertappr @261
  263. __gmpn_nior_n @262
  264. __gmpn_nussbaumer_mul @263
  265. __gmpn_perfect_power_p @264
  266. __gmpn_perfect_square_p @265
  267. __gmpn_pi1_bdiv_q_1 @266
  268. __gmpn_popcount @267
  269. __gmpn_pow_1 @268
  270. __gmpn_powlo @269
  271. __gmpn_powm @270
  272. __gmpn_powm_sec @271
  273. __gmpn_powm_sec_itch @272
  274. __gmpn_preinv_divrem_1 @273
  275. __gmpn_preinv_mod_1 @274
  276. __gmpn_preinv_mu_div_qr @275
  277. __gmpn_preinv_mu_divappr_q @276
  278. __gmpn_random @277
  279. __gmpn_random2 @278
  280. __gmpn_redc_1 @279
  281. __gmpn_redc_1_sec @280
  282. __gmpn_redc_2 @281
  283. __gmpn_redc_n @282
  284. __gmpn_remove @283
  285. __gmpn_rootrem @284
  286. __gmpn_rshift @285
  287. __gmpn_sbpi1_bdiv_q @286
  288. __gmpn_sbpi1_bdiv_qr @287
  289. __gmpn_sbpi1_div_q @288
  290. __gmpn_sbpi1_div_qr @289
  291. __gmpn_sbpi1_divappr_q @290
  292. __gmpn_scan0 @291
  293. __gmpn_scan1 @292
  294. __gmpn_set_str @293
  295. __gmpn_set_str_compute_powtab @294
  296. __gmpn_sqr @295
  297. __gmpn_sqr_basecase @296
  298. __gmpn_sqrmod_bnm1 @297
  299. __gmpn_sqrmod_bnm1_next_size @298
  300. __gmpn_sqrtrem @299
  301. __gmpn_sub @300
  302. __gmpn_sub_1 @301
  303. __gmpn_sub_n @302
  304. __gmpn_sub_nc @303
  305. __gmpn_subcnd_n @304
  306. __gmpn_submul_1 @305
  307. __gmpn_submul_1c @306
  308. __gmpn_tabselect @307
  309. __gmpn_tdiv_qr @308
  310. __gmpn_toom22_mul @309
  311. __gmpn_toom2_sqr @310
  312. __gmpn_toom32_mul @311
  313. __gmpn_toom33_mul @312
  314. __gmpn_toom3_sqr @313
  315. __gmpn_toom42_mul @314
  316. __gmpn_toom43_mul @315
  317. __gmpn_toom44_mul @316
  318. __gmpn_toom4_sqr @317
  319. __gmpn_toom52_mul @318
  320. __gmpn_toom53_mul @319
  321. __gmpn_toom62_mul @320
  322. __gmpn_toom63_mul @321
  323. __gmpn_toom6_sqr @322
  324. __gmpn_toom6h_mul @323
  325. __gmpn_toom8_sqr @324
  326. __gmpn_toom8h_mul @325
  327. __gmpn_toom_couple_handling @326
  328. __gmpn_toom_eval_dgr3_pm1 @327
  329. __gmpn_toom_eval_dgr3_pm2 @328
  330. __gmpn_toom_eval_pm1 @329
  331. __gmpn_toom_eval_pm2 @330
  332. __gmpn_toom_eval_pm2exp @331
  333. __gmpn_toom_eval_pm2rexp @332
  334. __gmpn_toom_interpolate_12pts @333
  335. __gmpn_toom_interpolate_16pts @334
  336. __gmpn_toom_interpolate_5pts @335
  337. __gmpn_toom_interpolate_6pts @336
  338. __gmpn_toom_interpolate_7pts @337
  339. __gmpn_toom_interpolate_8pts @338
  340. __gmpn_trialdiv @339
  341. __gmpn_udiv_qrnnd @340
  342. __gmpn_umul_ppmm @341
  343. __gmpn_xnor_n @342
  344. __gmpn_xor_n @343
  345. __gmpn_zero @344
  346. __gmpq_abs @345
  347. __gmpq_add @346
  348. __gmpq_canonicalize @347
  349. __gmpq_clear @348
  350. __gmpq_clears @349
  351. __gmpq_cmp @350
  352. __gmpq_cmp_si @351
  353. __gmpq_cmp_ui @352
  354. __gmpq_div @353
  355. __gmpq_div_2exp @354
  356. __gmpq_equal @355
  357. __gmpq_get_d @356
  358. __gmpq_get_den @357
  359. __gmpq_get_num @358
  360. __gmpq_get_str @359
  361. __gmpq_init @360
  362. __gmpq_inits @361
  363. __gmpq_inp_str @362
  364. __gmpq_inv @363
  365. __gmpq_mul @364
  366. __gmpq_mul_2exp @365
  367. __gmpq_neg @366
  368. __gmpq_out_str @367
  369. __gmpq_set @368
  370. __gmpq_set_d @369
  371. __gmpq_set_den @370
  372. __gmpq_set_f @371
  373. __gmpq_set_num @372
  374. __gmpq_set_si @373
  375. __gmpq_set_str @374
  376. __gmpq_set_ui @375
  377. __gmpq_set_z @376
  378. __gmpq_sub @377
  379. __gmpq_swap @378
  380. __gmpz_abs @379
  381. __gmpz_add @380
  382. __gmpz_add_ui @381
  383. __gmpz_addmul @382
  384. __gmpz_addmul_ui @383
  385. __gmpz_and @384
  386. __gmpz_aorsmul_1 @385
  387. __gmpz_array_init @386
  388. __gmpz_bin_ui @387
  389. __gmpz_bin_uiui @388
  390. __gmpz_cdiv_q @389
  391. __gmpz_cdiv_q_2exp @390
  392. __gmpz_cdiv_q_ui @391
  393. __gmpz_cdiv_qr @392
  394. __gmpz_cdiv_qr_ui @393
  395. __gmpz_cdiv_r @394
  396. __gmpz_cdiv_r_2exp @395
  397. __gmpz_cdiv_r_ui @396
  398. __gmpz_cdiv_ui @397
  399. __gmpz_clear @398
  400. __gmpz_clears @399
  401. __gmpz_clrbit @400
  402. __gmpz_cmp @401
  403. __gmpz_cmp_d @402
  404. __gmpz_cmp_si @403
  405. __gmpz_cmp_ui @404
  406. __gmpz_cmpabs @405
  407. __gmpz_cmpabs_d @406
  408. __gmpz_cmpabs_ui @407
  409. __gmpz_com @408
  410. __gmpz_combit @409
  411. __gmpz_congruent_2exp_p @410
  412. __gmpz_congruent_p @411
  413. __gmpz_congruent_ui_p @412
  414. __gmpz_divexact @413
  415. __gmpz_divexact_gcd @414
  416. __gmpz_divexact_ui @415
  417. __gmpz_divisible_2exp_p @416
  418. __gmpz_divisible_p @417
  419. __gmpz_divisible_ui_p @418
  420. __gmpz_dump @419
  421. __gmpz_export @420
  422. __gmpz_fac_ui @421
  423. __gmpz_fdiv_q @422
  424. __gmpz_fdiv_q_2exp @423
  425. __gmpz_fdiv_q_ui @424
  426. __gmpz_fdiv_qr @425
  427. __gmpz_fdiv_qr_ui @426
  428. __gmpz_fdiv_r @427
  429. __gmpz_fdiv_r_2exp @428
  430. __gmpz_fdiv_r_ui @429
  431. __gmpz_fdiv_ui @430
  432. __gmpz_fib2_ui @431
  433. __gmpz_fib_ui @432
  434. __gmpz_fits_sint_p @433
  435. __gmpz_fits_slong_p @434
  436. __gmpz_fits_sshort_p @435
  437. __gmpz_fits_uint_p @436
  438. __gmpz_fits_ulong_p @437
  439. __gmpz_fits_ushort_p @438
  440. __gmpz_gcd @439
  441. __gmpz_gcd_ui @440
  442. __gmpz_gcdext @441
  443. __gmpz_get_d @442
  444. __gmpz_get_d_2exp @443
  445. __gmpz_get_si @444
  446. __gmpz_get_str @445
  447. __gmpz_get_ui @446
  448. __gmpz_getlimbn @447
  449. __gmpz_hamdist @448
  450. __gmpz_import @449
  451. __gmpz_init @450
  452. __gmpz_init2 @451
  453. __gmpz_init_set @452
  454. __gmpz_init_set_d @453
  455. __gmpz_init_set_si @454
  456. __gmpz_init_set_str @455
  457. __gmpz_init_set_ui @456
  458. __gmpz_inits @457
  459. __gmpz_inp_raw @458
  460. __gmpz_inp_str @459
  461. __gmpz_inp_str_nowhite @460
  462. __gmpz_invert @461
  463. __gmpz_ior @462
  464. __gmpz_jacobi @463
  465. __gmpz_kronecker_si @464
  466. __gmpz_kronecker_ui @465
  467. __gmpz_lcm @466
  468. __gmpz_lcm_ui @467
  469. __gmpz_legendre @468
  470. __gmpz_lucnum2_ui @469
  471. __gmpz_lucnum_ui @470
  472. __gmpz_millerrabin @471
  473. __gmpz_mod @472
  474. __gmpz_mul @473
  475. __gmpz_mul_2exp @474
  476. __gmpz_mul_si @475
  477. __gmpz_mul_ui @476
  478. __gmpz_n_pow_ui @477
  479. __gmpz_neg @478
  480. __gmpz_nextprime @479
  481. __gmpz_out_raw @480
  482. __gmpz_out_str @481
  483. __gmpz_perfect_power_p @482
  484. __gmpz_perfect_square_p @483
  485. __gmpz_popcount @484
  486. __gmpz_pow_ui @485
  487. __gmpz_powm @486
  488. __gmpz_powm_sec @487
  489. __gmpz_powm_ui @488
  490. __gmpz_probab_prime_p @489
  491. __gmpz_random @490
  492. __gmpz_random2 @491
  493. __gmpz_realloc @492
  494. __gmpz_realloc2 @493
  495. __gmpz_remove @494
  496. __gmpz_root @495
  497. __gmpz_rootrem @496
  498. __gmpz_rrandomb @497
  499. __gmpz_scan0 @498
  500. __gmpz_scan1 @499
  501. __gmpz_set @500
  502. __gmpz_set_d @501
  503. __gmpz_set_f @502
  504. __gmpz_set_q @503
  505. __gmpz_set_si @504
  506. __gmpz_set_str @505
  507. __gmpz_set_ui @506
  508. __gmpz_setbit @507
  509. __gmpz_si_kronecker @508
  510. __gmpz_size @509
  511. __gmpz_sizeinbase @510
  512. __gmpz_sqrt @511
  513. __gmpz_sqrtrem @512
  514. __gmpz_sub @513
  515. __gmpz_sub_ui @514
  516. __gmpz_submul @515
  517. __gmpz_submul_ui @516
  518. __gmpz_swap @517
  519. __gmpz_tdiv_q @518
  520. __gmpz_tdiv_q_2exp @519
  521. __gmpz_tdiv_q_ui @520
  522. __gmpz_tdiv_qr @521
  523. __gmpz_tdiv_qr_ui @522
  524. __gmpz_tdiv_r @523
  525. __gmpz_tdiv_r_2exp @524
  526. __gmpz_tdiv_r_ui @525
  527. __gmpz_tdiv_ui @526
  528. __gmpz_tstbit @527
  529. __gmpz_ui_kronecker @528
  530. __gmpz_ui_pow_ui @529
  531. __gmpz_ui_sub @530
  532. __gmpz_urandomb @531
  533. __gmpz_urandomm @532
  534. __gmpz_xor @533
  535. _get_output_format @534
复制代码
毋因群疑而阻独见  毋任己意而废人言
毋私小惠而伤大体  毋借公论以快私情
发表于 2011-1-10 19:50:39 | 显示全部楼层
34# G-Spider 我对dll和def了解的很肤浅,想问问, 有的地方 @ 后面还有DATA ,这个是必须加的吗 , 还有,原先是有= 号的,
__gmpz_pow_ui = ___gmpz_get_ui.clone.0 @481
我没有去掉,我照搬过去,也能生成lib,似乎跟你的一样, 在使用了mpz_out_str函数的程序里 出现了运行时错误,
毋因群疑而阻独见  毋任己意而废人言
毋私小惠而伤大体  毋借公论以快私情
发表于 2011-1-10 21:21:49 | 显示全部楼层
35# wayne 是很不解,其它的函数还好,就这个mpz_out_str运行通不过,执行时直接崩溃,注释掉执行你上面的测试函数没问题。 out_str会不会有bug,访存越界什么的,你e-mail问问看。。似乎与def关系不大,def就是个函数名
毋因群疑而阻独见  毋任己意而废人言
毋私小惠而伤大体  毋借公论以快私情
发表于 2011-1-10 21:30:22 | 显示全部楼层
35# wayne 一般需要哪些函数,只需def中是需要定义这些函数即可,不一定非要写全。 ################################################################################## 引入了一个由一个或多个 definitions(导出的函数或数据)组成的节。每个定义必须在单独一行上。 复制EXPORTS definitions 备注 -------------------------------------------------------------------------------- EXPORTS 关键字可以在第一个定义所在的同一行或前一行上。.def 文件可以包含一个或多个 EXPORTS 语句。 导出 definitions 的语法为: 复制 entryname[=internalname] [@ordinal [NONAME]] [PRIVATE] [DATA] entryname 是要导出的函数名或变量名。这是必选项。如果导出的名称与 DLL 中的名称不同,则通过 internalname 指定 DLL 中导出的名称。例如,如果 DLL 导出函数 func1(),要将它用作 func2(),则应指定: 复制EXPORTS func2=func1 @ordinal 允许指定是序号而不是函数名将进入 DLL 的导出表。这有助于最小化 DLL 的大小。.LIB 文件将包含序号与函数之间的映射,这使您得以像通常在使用 DLL 的项目中那样使用函数名。 可选的 NONAME 关键字允许只按序号导出,并减小结果 DLL 中导出表的大小。但是,如果要在 DLL 上使用 GetProcAddress,则必须知道序号,因为名称将无效。 可选的 PRIVATE 关键字禁止将 entryname 放到由 LINK 生成的导入库中。它对同样是由 LINK 生成的图像中的导出无效。 可选的 DATA 关键字指定导出的是数据,而不是代码。例如,可以导出数据变量,如下所示: 复制EXPORTS i DATA 当对同一导出使用 PRIVATE 和 DATA 时,PRIVATE 必须位于 DATA 的前面。 有三种导出定义的方法,按照建议的使用顺序依次为: 1.源代码中的 __declspec(dllexport) 关键字 2..def 文件中的 EXPORTS 语句 3.LINK 命令中的 /EXPORT 规范 所有这三种方法可以用在同一个程序中。LINK 在生成包含导出的程序时还创建导入库,除非生成中使用了 .exp 文件。 以下是 EXPORTS 节的示例: 复制EXPORTS DllCanUnloadNow @1 PRIVATE DATA DllWindowName = Name DATA DllGetClassObject @4 NONAME PRIVATE DllRegisterServer @7 DllUnregisterServer 注意,使用 .def 文件从 DLL 中导出变量时,不需要在变量上指定 __declspec(dllexport)。但是,在任何使用 DLL 的文件中,仍必须在数据声明上使用 __declspec(dllimport)。

评分

参与人数 1鲜花 +6 收起 理由
wayne + 6 谢了

查看全部评分

毋因群疑而阻独见  毋任己意而废人言
毋私小惠而伤大体  毋借公论以快私情
发表于 2011-1-10 21:39:15 | 显示全部楼层
本帖最后由 wayne 于 2011-1-10 21:46 编辑 36# G-Spider 其实,我很早以前也试过从dll文件生成lib文件的,只是没成功,我想问题是 我用的 C++产生 的dll , 刚才我重新编译了一下gmp5.0.1,C语言的版本。试试从dll转换成lib,成功了! ====================================== 我用的dumpbin工具来产生def的,然后再在文本编辑器里用正则表达转换,着实费了我一番功夫,搜索了一下网络,发现 pexports 很不错,输出的def文件已经是正确的形式了: 整个过程只有两步:
\$ pexports.exe libgmp-10.dll -o >gmp5.0.1.def \$ lib /def:gmp5.0.1.def Microsoft (R) Library Manager Version 9.00.21022.08 Copyright (C) Microsoft Corporation. All rights reserved. LINK : warning LNK4068: 未指定 /MACHINE;默认设置为 X86 正在创建库 gmp5.0.1.lib 和对象 gmp5.0.1.exp
毋因群疑而阻独见  毋任己意而废人言
毋私小惠而伤大体  毋借公论以快私情
发表于 2011-1-10 22:39:00 | 显示全部楼层
38# wayne 嗯,这个我当时也用了。路径出了点问题,要上课,就草草了结了。生成的lib没有问题了?那就把lib传一下吧。
毋因群疑而阻独见  毋任己意而废人言
毋私小惠而伤大体  毋借公论以快私情
发表于 2011-1-11 08:04:46 | 显示全部楼层
没那么复杂!!!!!!!!!!!!!!!!!!!!!!!! gmp怎么生成lib,记得我说过
毋因群疑而阻独见  毋任己意而废人言
毋私小惠而伤大体  毋借公论以快私情
您需要登录后才可以回帖 登录 | 欢迎注册

本版积分规则

小黑屋|手机版|数学研发网 ( 苏ICP备07505100号 )

GMT+8, 2024-11-22 16:23 , Processed in 0.032491 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表