home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / sun / misc / 3278 < prev    next >
Encoding:
Text File  |  1992-07-22  |  1.0 KB  |  35 lines

  1. Newsgroups: comp.sys.sun.misc
  2. Path: sparky!uunet!caen!hellgate.utah.edu!asylum.cs.utah.edu!allen
  3. From: allen%asylum.cs.utah.edu@cs.utah.edu (Allen Sanderson)
  4. Subject: cc with -pg (profiling)
  5. Date: 22 Jul 92 13:57:07 MDT
  6. Message-ID: <1992Jul22.135707.28712@hellgate.utah.edu>
  7. Organization: University of Utah CS Dept
  8. Lines: 25
  9.  
  10.  
  11. Question ??
  12.  
  13. I am trying to compile some code which contains my own C routines and
  14. several X11R5 routines.  When linking the code I get then following (I
  15. am using the -pg option during the compiling and linking).
  16.  
  17. ld: _DYNAMIC bootstrapping not available: use -Bstatic.
  18.  
  19. I add in the -Bstatic to the linking portion of the code and behold
  20. lots of X11 routines (like _XDrawText) are not available in the static
  21. libraries.  The profiling will not let use a combination of static and
  22. dynamic libs either.
  23.  
  24. Any suggestions of how to make the profiling work with dynamic libs ???
  25.  
  26.  
  27. Allen R. Sanderson
  28.  
  29. allen@mirl.med.utah.edu
  30.  
  31. Medical Imaging Research Lab
  32. Department of Radiology        
  33. University of Utah        
  34. Salt Lake City, Utah    
  35.