[gnu.g++.bug] change in xm-sunos4.h

schmidt%siam.ics.uci.edu@PARIS.ICS.UCI.EDU ("Douglas C. Schmidt") (01/02/89)

Hi,

   I believe the following change must be made in xm-sunos4.h file
to properly use the debugging ( -g ) option with g++ 1.32:

----------------------------------------
*** config.h.~1~	Sat Dec 31 13:45:50 1988
--- config.h	Sun Jan  1 13:58:16 1989
***************
*** 11,14 ****
     Also, it is hard to debug with shared libraries,
     so don't use them if going to debug.  */
  
! #define LINK_SPEC "%{!e*:-e start} -dc -dp %{g:-Bstatic} %{static:-Bstatic}"
--- 11,14 ----
     Also, it is hard to debug with shared libraries,
     so don't use them if going to debug.  */
  
! #define LINK_SPEC "%{!e*:-e start} -dc -dp %{static:-Bstatic}"
----------------------------------------

Otherwise, ld++ gets confused about the -Bstatic option.

Doug