Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 39359a1bbdf17ceee2f5486541895c4f8a7102e4
Ticket: 218011ffffffffffffffffffffffffffffffffff
Solaris configure script: include -xs option in configure s
User & Date: nobody on 2000-10-26 00:52:05
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 879 Bug
    Version: 8.0.4
    SubmitDate: '1998-11-25'
    LastModified: '2000-02-07'
    Severity: MED
    Status: Closed
    Submitter: admin
    ChangedBy: hobbs
    OS: Solaris
    OSVersion: NA
    Machine: NA
    FixedDate: '2000-10-25'
    FixedInVersion: NA
    ClosedDate: '2000-02-07'
    
    
    The problem is with the --enable-symbols option that gets
    passed to the configure script. The configure script needs to
    include the -xs option when using cc (link to acc) on Solaris.
    If you do not do this debugging symbols will not be put into
    the tcl shared object. Just using -g does not work (of course
    you need -g too). Solaris with gcc does not have this problem.
    
    (here was the compile line I got with --enable-symbols)
    
    cc -c -g -KPIC -I./../generic -I. ...
    
    (here is what you need on solaris)
    
    cc -c -g -xs -KPIC -I./../generic -I. ...
    
    could you include this little patch? It adds the -xs argument when
    running under solaris and using cc and tcl8.0.4.
    
    *** copy_configure.in   Fri Nov 20 17:43:00 1998
    --- configure.in        Fri Nov 20 17:47:51 1998
    ***************
    *** 666,671 ****
    --- 666,674 ----
      ECHO_VERSION='`echo ${VERSION}`'
      TCL_LIB_VERSIONS_OK=ok
      CFLAGS_DEBUG=-g
    + if test "$CC" = "cc" && test "`uname -s`" = "SunOS"; then
    +     CFLAGS_DEBUG="$CFLAGS_DEBUG -xs"
    + fi
      CFLAGS_OPTIMIZE=-O
      case $system in
          AIX-4.[[2-9]])
    
    
    Perhaps if this is acc, but with WSPro cc, this is not the case,
    nor would gcc need this.  Best left alone, unless we are going
    to check that it's really acc. 
    -- 02/07/2000 hobbs
    
  4. foundin changed to: "obsolete: 8.0.4"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "75. Tutorial"
  10. title changed to:
    Solaris configure script:  include -xs option in configure s
    
  11. type changed to: "Bug"