Article View: gnu.g++
Article #35Re: g++ and sunview (again)
From: Roy Marantz
Date: Tue, 11 Jul 1989 16:57
Date: Tue, 11 Jul 1989 16:57
22 lines
1132 bytes
1132 bytes
In article <2343@pur-phy> sho@pur-phy (Sho Kuwamoto) writes:
> This may be some quirk in SunView, but my troubles with g++ and
> sunview seem to come from some fundamental misunderstanding on my part
> of g++ linkage. After reducing the program as much as possible, I
> came up with this:
...
> pf.o: Undefined symbol __DYNAMIC referenced from text
...
I believe that the symbol __DYNAMIC is defined by the loader when you
use dynamic (instead of static) linking. The g++ says (or implies)
that it doesn't have the correct crt0 program to handle dynamic
loading, so try telling ld(1) to statically link the program.
Roy
--
uucp: {backbone}!rutgers!aramis.rutgers.edu!marantz
arpa: marantz@aramis.rutgers.edu
Technical Details
Message-ID:
<Jul.11.12.57.01.1989.21984@porthos.rutgers.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!aramis.rutgers.edu!porthos.rutgers.edu!marantzReferences:
<2343@pur-phy>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!aramis.rutgers.edu!porthos.rutgers.edu!marantz From: marantz@porthos.rutgers.edu (Roy Marantz) Newsgroups: gnu.g++ Subject: Re: g++ and sunview (again) Message-ID: <Jul.11.12.57.01.1989.21984@porthos.rutgers.edu> Date: 11 Jul 89 16:57:03 GMT References: <2343@pur-phy> Organization: Rutgers Univ., New Brunswick, N.J. Lines: 22