This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: [Fwd: Re: [PATCH 1 of 3] arch: s390 and 390x glibc patch]


On Saturday 14 November 2009 17:28:26 Mike Frysinger wrote:
> > > > Mike Frysinger wrote:
> > > > >under Gentoo, a bunch of cache vars
> > > > >are forced just for the headers step as there is no compiler to test.
> > > > > those include mlong double tests.
> > > > >	libc_cv_mlong_double_128=yes
> > > > >	libc_cv_mlong_double_128ibm=yes
> these are settings that should always be there and the user shouldnt be forced 
> to configure themselves.  it also isnt specific to s390 ... it comes up with 
> ppc targets too.
> for the headers step, it's safe to export these all the time for all targets.  
> we've been doing this in gentoo for quite a long time now.

You mean unconditionally? On my x86_64 machine, debian lenny:
- in 64-bit mode: sizeof( long double ) = 16 bytes = 128 bits
- in 32-bit mode: sizeof( long double ) = 12 bytes =  96 bits

So, does it really makes sense to _unconditionnally_ set long-double-128?
The gcc man page says that on x86 (32-bit) the ABI specifies a size of
96 bits for long double.

Also, what does long-double-128ibm means?

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
`------------------------------^-------^------------------^--------------------'



--
For unsubscribe information see http://sourceware.org/lists.html#faq


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