This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: Switching to C++ by default in 4.8


On Thu, Apr 5, 2012 at 4:35 PM, Gabriel Dos Reis
<gdr@integrable-solutions.net> wrote:

>> xlc -fno-exceptions -fno-rtti conftest.c
>>
>> fails. ?I don't think -fno-rtti -fno-exceptions does what GCC expects.
>
> Thanks for these data. ?I think -fno-rtti and -fno-exceptions don't make
> much sense at the linker level so we should leave them out, and use
> them only when "compiling", e.g. with "-c".

It is used when compiling, e.g. gcov.c, but when compiling and linking
directly from source without an intermediate object file.

- David


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