home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / cplus / 12264 < prev    next >
Encoding:
Internet Message Format  |  1992-08-12  |  1.0 KB

  1. Path: sparky!uunet!usc!rpi!utcsri!turing.toronto.edu!goldberg
  2. Newsgroups: comp.lang.c++
  3. From: goldberg@turing.toronto.edu (Jody Goldberg)
  4. Subject: Cfront, GCC and Global Constructors
  5. Message-ID: <1992Aug12.095439.26052@jarvis.csri.toronto.edu>
  6. Summary: gcc suplants need for patch/munch
  7. Keywords: cfront gcc patch
  8. Organization: CSRI, University of Toronto
  9. Date: 12 Aug 92 13:54:40 GMT
  10. Lines: 15
  11.  
  12. I recently posted asking why a trivial example with global constructors
  13. was executing the constructors twice.  What I didn't mention was that
  14. we are using 'gcc' as the backend to cfront 3.0 with patch.  The suggested
  15. solution was that 'nm' must be spitting out names multiple times.
  16.  
  17. The reality was that gcc is smarter than cc and had already patched the
  18. global constructors BEFORE patch ever got run.  The net result is that
  19. we are quite happily running now without patch or munch.
  20.  
  21.     Thanks for your help
  22. -- 
  23. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  24. Jody Goldberg
  25. goldberg@turing.toronto.edu        |     "I Row ... What else Matters ?"
  26.  
  27.