Ethan Phelps-Goodman (ethan++at++coral.arc.nasa.gov)
Fri, 01 Aug 1997 10:18:21 -0700
cerr doesn't work either.
this is where dbx says the crash is:
> 0 ostream::operator<<(const char*)(0xf8b6dd8, 0x1000733c, 0x7fff2f6c, 0x7fff2f6c) ["../stream/out.c++":259, 0xf898748]
1 main(argc = 1, argv = 0x7fff2f64)
["/usr/people/ethan/midas/tinyMidas/tinyMidas.c++":29, 0x42579c]
2 __istart() ["crt1tinit.s":13, 0x425700]
Any ideas why cout doesn't work?
has anyone else had this problem?
Dirk Luesebrink wrote:
>
> my guess is your link line looks like:
>
> /usr/bin/cc ....
>
> fast fix is cut copy past the generated link line and replace cc with
> CC. better solution is not to use any performer Makefile at all and
> develop your own Makefile where you see whats going on.
>
> if this is the case, cc dosent link the neccessary C++ startup code for
> iostream into your app. crash on cout is then one of the first but not
> the last problem.
>
> in case its not the problem, sigh, cant help.
>
> dirk.
>
> Ethan Phelps-Goodman wrote:
> >
> > I just started using Performer and I have run into a big problem.
> >
> > I cannot use the cout stream in Performer applications. Whenever cout is
> > called the program core dumps. Debugger inspection shows that the crash
> > happens at the operator<< function. My development work cannont continue
> > until I can solve this.
> >
> > Certainly there is a way to work around this?
> >
> > I am using Performer 2.0 on an Indigo2.
> >
> > Thanks in advance.
> >
> > --
> >
> > Ethan Phelps-Goodman
> > ethan++at++coral.arc.nasa.gov
--Ethan Phelps-Goodman ethan++at++coral.arc.nasa.gov ======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:42 PDT