2009/8/17 François Bissey <fbis...@slingshot.co.nz>: > > On Mon, 17 Aug 2009, John Cremona wrote: >> 2009/8/17 Dr. David Kirkby <david.kir...@onetel.net>: >> > I'm trying to work out exactly how the makefiles in ntl are generated, >> > The flags to add shared library support are gcc specific. I'd like to >> > try to make them configurable, so they can work with other compilers, >> > but I'm having a struggle with this. >> > >> > Trying to work out the interaction of makefile's mfile, configure, >> > DoConfig etc is not easy. >> >> Try emailing Victor Shoup: he may well take the time to explain, since >> one benefit (for him) is wider use of NTL. >> > Hi, > > That would be me and T. Abott. I have an alternative set up that was > more flexible and allowed non-gld linker, which is the main issue in this > case. I remember posting some patch at the time on debian-sage. > I will have to check if they can still be applied to the latest version of > ntl. > The thread on debian-sage is here: > http://groups.google.com/group/debian-sage/browse_thread/thread/85ed49653a5fafd9/6e31f0701f8c6b26#6e31f0701f8c6b26 > I am a bit busy at the moment otherwise I could give you the details > of it works. > > Francois
If you could, I'd like to investigate this. Ideally if the flags for the position independant code (-fPIC with GCC) and making shared libraries (-shared on GCC) could be supplied as arguments in some way, then a test for the compiler will allow these to be set for any compiler - GNU, Sun, IBM, HP etc. Dave --~--~---------~--~----~------------~-------~--~----~ To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---