Here's the promised posting to the LiDIA list about getting it to compile under gcc 4.2.1. I have not yet tried it.
John ---------- Forwarded message ---------- From: Martin Ettl <[EMAIL PROTECTED]> Date: Aug 20, 2007 9:09 AM Subject: [LiDIA] LiDIA 2.2.0 with g++-4.2.1 To: [EMAIL PROTECTED] Hi @all, i tried to compile the current release of the LiDIA-library with my g++ (version 4.2.1). First it doesn't work. After i have made the following changes, it worked! Here the changes i've made: In order to compile the current LiDIA Library with gcc-4.2.1 the following modifications have to done: * Add the following enty to file: src/base/include/LiDIA/base/sf_bigint.h: // define this line out of the class declaration factorization < bigint> PollardRho(const bigint &x, int size); * Outcomment line 201 und 165 in file src/gec/prime_proof/prime_proof_factorize.cc . * Outcomment line 325 in file src/gec/prime_proof/prime_procc_ecpp_is_good_order.cc . * In file src/base/include/LiDIA/base/sf_bigint.h: Declare funktion void PollardRho(factorization< bigint > & f, unsigned int B); as public, not private! * In file src/gec/include/LiDIA/prime_proof.h: remove all "prime_proof::" , (this scoping stuff is not needed any longer)! * In file src/base/include/LiDIA/sparse_ring_matrix.h: remove line 106: sparse_ring_matrix::assign(...) * In file src/base/include/LiDIA/matrix/sparse_ring_matrix_kernel.cc: remove line 440,374,223,157: sparse_ring_matrix_kernel::assign(...) * In file src/base/include/LiDIA/dense_field_matrix.h: line 96: dense_field_matrix< T > & operator = (const dense_field_matrix< T > &B) { dense_field_matrix::assign(B); return *this; } * In file src/base/include/LiDIA/field_matrix.h: line 135: field_matrix< T > & operator = (const field_matrix< T >&B) { field_matrix::assign(B); return *this; } * In file src/base/include/LiDIA/ring_matrix.h : line 125: ring_matrix< T > & operator = (const ring_matrix< T > &B) { ring_matrix::assign(B); return *this; } * In file src/base/include/LiDIA/sparse_field_matrix.h: line 100 : sparse_field_matrix< T > & operator = (const sparse_field_matrix< T > &B) { sparse_field_matrix::assign(B); return *this; } * In file src/base/include/LiDIA/dense_ring_matrix.h: line 94: dense_ring_matrix< T > & operator = (const dense_ring_matrix< T > &B) { dense_ring_matrix::assign(B); return *this; } Dear LiDIA-Admin:Is it possible to adapt this changes into the next release? Regards Orbitcowoy _____________________________________________________________________ Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! http://smartsurfer.web.de/?mc=100071&distributionid=000000000066 _______________________________________________ LiDIA mailing list [EMAIL PROTECTED] http://www.cdc.informatik.tu-darmstadt.de/mailman/listinfo/lidia -- John Cremona --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---
LiDIA_gcc-4.2.1.odt
Description: application/vnd.oasis.opendocument.text