Article View: gnu.g++.bug
Article #1590change in xm-sunos4.h
From: "Douglas C. Schmidt"
Date: Sun, 01 Jan 1989 22:00
Date: Sun, 01 Jan 1989 22:00
25 lines
1201 bytes
1201 bytes
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
Technical Details
Message-ID:
<8901011408.aa03890@PARIS.ICS.UCI.EDU>Path:
arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!uunet!tut.cis.ohio-state.edu!PARIS.ICS.UCI.EDU!schmidt%siam.ics.uci.eduShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!uunet!tut.cis.ohio-state.edu!PARIS.ICS.UCI.EDU!schmidt%siam.ics.uci.edu
From: schmidt%siam.ics.uci.edu@PARIS.ICS.UCI.EDU ("Douglas C. Schmidt")
Newsgroups: gnu.g++.bug
Subject: change in xm-sunos4.h
Message-ID: <8901011408.aa03890@PARIS.ICS.UCI.EDU>
Date: 1 Jan 89 22:00:34 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 25