#14491: Add FreeBSD as a supported platform
--------------------------------+-------------------------------------------
       Reporter:  kcrisman      |         Owner:  pjeremy  
           Type:  enhancement   |        Status:  new      
       Priority:  major         |     Milestone:  sage-5.11
      Component:  porting: BSD  |    Resolution:           
       Keywords:                |   Work issues:           
Report Upstream:  N/A           |     Reviewers:           
        Authors:                |     Merged in:           
   Dependencies:                |      Stopgaps:           
--------------------------------+-------------------------------------------

Comment (by stephen):

 leif:  to be honest, I don't know the answer to your questions.

 First, I don't know what a linker script is.

 Secondly, as to what is broken - in the FreeBSD port of sage, I have a
 wrapper script for gcc that looks something like this:

 {{{
 #!/bin/sh

 # This is a wrapper to redirect compiler invokations to the port of gcc
 that
 # contains fortran.  LDFLAGS needs to be added so that the linker knows
 where
 # to find the dynamic libraries.

 # If the compiler is invoked with the argument "-v", adding LDFLAGS to the
 # arguments results in an error which stops some packages being built.

 if [ "x$*" = "x-v" ]; then
   exec %%CC%% "$@"
 else
   exec %%CC%% %%LDFLAGS%% -Wl,--copy-dt-needed-entries "$@"
 fi
 }}}

 The {{{%%CC%%}}} and {{{%%LDFLAGS%%%}}} are replaced by a {{{sed}}} script
 to create three scripts called {{{gcc}}}, {{{g++}}} and {{{gfortran}}},
 which are placed in {{{${SAGE_ROOT}/local/bin}}}.

 As I said, I don't know what a linker script is - is it something like my
 bin scripts?

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14491#comment:32>
Sage <http://www.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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to