|
2001-04-05
| ||
| 06:54 | • Ticket [218011ffff] Solaris configure script: include -xs option in configure s... artifact: 68f58b5fe1 user: dgp | |
|
2000-10-26
| ||
| 08:12 | • Closed ticket [218011ffff]. artifact: c9b39191eb user: welch | |
| 00:52 | • New ticket [218011ffff]. artifact: 39359a1bbd user: nobody | |
Solaris configure script: include -xs option in configure s
Closed / Fixed218011ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:52:05
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
welch Closed ticket [218011ffff].
[History diff]2000-10-26 08:12:11
dgp Ticket [218011ffff]: 3 changes
[History diff]2001-04-05 06:54:29
Log in (anonymous is fine) to add a comment.