#6380: [with patch, needs review] Allow NTL to build on Solaris with Sun or GNU
linker
----------------------+-----------------------------------------------------
 Reporter:  drkirkby  |       Owner:  drkirkby                   
     Type:  defect    |      Status:  new                        
 Priority:  major     |   Milestone:  sage-4.1.1                 
Component:  solaris   |    Keywords:  solaris ntl makefile GNUism
 Reviewer:  was       |      Author:                             
   Merged:            |  
----------------------+-----------------------------------------------------
Changes (by drkirkby):

  * reviewer:  => was


Comment:

 OK, I've made the changes.

 Please see:

 http://sage.math.washington.edu/home/kirkby/Solaris-fixes/ntl-5.4.2.p9/
 (different directory to last one)

 I created a patchfile which shows the differences from the last copy of
 'mfile' otherwise the patch would be huge and uncomprehsible, as mfile has
 been changed so many times. There is actually a patch in the 'patches'
 directory.

 I just noticed I probably put the original and new files in the wrong
 order, as it looks like I've added stuff to the 'mfile' not taken it away.
 I have in fact just *removed*   -Wl,-soname,libcat DIRNAME.so

 Formally the line was:
         $(LINK_CXX) -fPIC -shared -Wl,-soname,lib`cat DIRNAME`.so -o
 lib`cat DIRNAME`.so $(OBJ) $(GMP_LIBDIR)

 now it is
         $(LINK_CXX) -fPIC -shared -o lib`cat DIRNAME`.so $(OBJ)
 $(GMP_LIBDIR) $(GMP_LIB)

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6380#comment:4>
Sage <http://sagemath.org/>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to