home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sun.misc
- Path: sparky!uunet!caen!hellgate.utah.edu!asylum.cs.utah.edu!allen
- From: allen%asylum.cs.utah.edu@cs.utah.edu (Allen Sanderson)
- Subject: cc with -pg (profiling)
- Date: 22 Jul 92 13:57:07 MDT
- Message-ID: <1992Jul22.135707.28712@hellgate.utah.edu>
- Organization: University of Utah CS Dept
- Lines: 25
-
-
- Question ??
-
- I am trying to compile some code which contains my own C routines and
- several X11R5 routines. When linking the code I get then following (I
- am using the -pg option during the compiling and linking).
-
- ld: _DYNAMIC bootstrapping not available: use -Bstatic.
-
- I add in the -Bstatic to the linking portion of the code and behold
- lots of X11 routines (like _XDrawText) are not available in the static
- libraries. The profiling will not let use a combination of static and
- dynamic libs either.
-
- Any suggestions of how to make the profiling work with dynamic libs ???
-
-
- Allen R. Sanderson
-
- allen@mirl.med.utah.edu
-
- Medical Imaging Research Lab
- Department of Radiology
- University of Utah
- Salt Lake City, Utah
-