Re: Exception handling on AIX5.3 with gcc 3.4.6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi,
tx for your answer.
1. is it relevant also for gcc (not g++)
2. what is the reason for that?
3. is it common to distribute a gcc llib with your product? do you
know anyhing about the licensing issue?


tx.
shlom


On 3/20/08, Brian Dessent <brian@xxxxxxxxxxx> wrote:
> [ Don't CC: a million different @gcc.gnu.org lists, the whole point of
> having them separate is so that people's mailboxes aren't flooded with
> mails, which you render ineffective by sending a copy to every list.
> gcc@ especially is about development of gcc not help using it. ]
>
> Shlom Marom wrote:
>
> > If I compiled the program with shared lib-gcc and with the pthread
> > libstdc++ - everything works fine and also the base exception is being
> > caught as it should.
> > ...
> > Shared linking: gcc -o tester_shared main.cpp -pthread -I.
> > -shared-libgcc -L/usr/lib -ldl -lpthread -lstdc++
> > Static linking: gcc -o tester_static main.cpp -L/usr/lib/threads
> > -pthread -I. -static-libgcc -L/usr/lib -ldl -lpthread `gcc
>
> A shared libgcc is pretty much required for proper exception handling, I
> just don't think you're going to be able to get around that.  This
> should hold true for pretty much every target so the fact that it works
> with static libgcc on Linux is by accident, or perhaps luck.
>
> Brian
>

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux