home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / gnu / gcc / help / 1774 < prev    next >
Encoding:
Text File  |  1992-07-25  |  1.4 KB  |  38 lines

  1. Newsgroups: gnu.gcc.help
  2. Path: sparky!uunet!europa.asd.contel.com!awds.imsd.contel.com!wlbr!amc
  3. From: amc@WLV.IIPO.GTEGSC.COM (Allen M. Cohen)
  4. Subject: Unresolved references during linking of g++ objects
  5. Message-ID: <1992Jul25.022158.20955@wlbr.iipo.gtegsc.com>
  6. Sender: news@wlbr.iipo.gtegsc.com (news)
  7. Nntp-Posting-Host: wlv.iipo.gtegsc.com
  8. Organization: GTE Government Systems
  9. Distribution: usa
  10. Date: Sat, 25 Jul 92 02:21:58 GMT
  11. Lines: 25
  12.  
  13. I built gcc 2.2.2 on a 486 machine with ISC Unix 3.0.
  14.  
  15. I tried to build a Public domain program called XcRichText, which
  16. has some c++ code.  I used gcc 2.2.2.
  17.  
  18. I got the following undefined refs:
  19. _assert__FPcT0i                     ../libXc.a
  20. strcat__FPcPCc                      ../libXc.a
  21. strchr__FPCci                       ../libXc.a
  22. _15ParagraphFormat.default_tab_width_ ../libXc.a
  23. strcspn__FPCcT0                     ../libXc.a
  24.  
  25. When I built with the -S option, I noticed that the assembly language
  26. output does indeed make the latter references.
  27.  
  28. E.G.:
  29.   Why does gcc build an instruction like:
  30.      call strcat__FPcPCc
  31. instead of just:
  32.      call strcat???
  33. -- 
  34. <> Allen M. Cohen -- Autologic, Inc. 1050 Rancho Conejo Blvd.,T.O. Ca.91320 <>
  35. <> 1853 Stonesgate St.             Internet:  amc@IIPO.GTEGSC.COM           <>
  36. <> Westlake Village, Ca. 91361     Telephone: (805) 498-9611 ext. 195       <>
  37. <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
  38.