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