This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc 4.3.2 rethrow exception


zevel12 wrote:

> Dave Korn-6 wrote:

>>   It's always best to use the proper language driver for compiling C++
>> instead
>> of adding -lstdc++ to the C compiler command-line, in fact it's not a
>> supported mode of operation 

> It did indeed fix the problem. As an added note, I also had to use g++ as
> the linker instead of gcc in my makefiles.

  Sorry, I should have been clearer; when I said "use the driver for
compiling", I really meant all stages of the compilation process, particularly
including linking, not just the actual compilation stage itself.  Glad you
discovered that for yourself without too much trouble; you're on completely
the right track there.

    cheers,
      DaveK


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]