This is the mail archive of the libstdc++@gcc.gnu.org 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]
Other format: [Raw text]

Re: Two or three initial observations on the fp prining patch


Jerry Quinn <jlquinn@optonline.net> writes:

| I suppose the optimal case would be for the compiler to make these
| definitions available to us when the installed compiler runs. 

Aboslutely.

  You can start with having  CPP automatically export

    __GCC_LITTLE_ENDIAN__=xxx
    __GCC_BIG_ENDIAN__=yyy
    __GCC_MIXED_ENDIAN__=zzz

and have c++config declares

    enum __endianness {
       _S_little_endian = __GCC_LITTLE_ENDIAN__,
       _S_big_endian = __GCC_BIG_ENDIAN__,
       _S_mixed_endian = __GCC_MIXED_ENDIAN__,  
       _S_unknown_endianness
    }; 

| In lieu
| of that, it looks like we'll need to access the tm.h file when the
| library is configured, right?

I do not believe we want to tie that way.

-- Gaby


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