This is the mail archive of the libstdc++@sources.redhat.com mailing list for the libstdc++ project.


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

Re: that patch I mentioned


>>>>> "Loren" == Loren James Rittle <rittle@latour.rsch.comm.mot.com> writes:

    Loren> Can _G_USING_THUNKS be determined by a configure test?  If
    Loren> not, how do I know if any particular host needs it (other
    Loren> than by just trying it both ways)?

It is possible to write a configure test -- but it would be ugly, and
it wouldn't work for both old and new ABI.

It would probably be best to provide an option to GCC to have it dump
out all of its flag settings, and then look at that.  (That could be
useful in lots of situations.)

Assuming, however, that you have to provide some target bits for each
target system anyhow (which seems likely), having to provide one more
doesn't seem so bad.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com

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