Change default sizeof(long double) to 128-bit
bd satish
bdsatish@gmail.com
Sun Mar 27 14:35:00 GMT 2011
Hi,
I am trying to build gcc and I would like gcc to map (by default)
"long double" to 128-bit.
What option should I pass to "configure" script to get this behaviour ?
I'm running a 32-bit OS [ Ubuntu 10.10 ] on intel core i3 processor.
Currently sizeof( long double) prints 12 bytes, i.e., 96 bits.
PS: I do not like to specify the flag "-m128bit-long-double" to every
C program I compile. Instead, I want gcc to use 16-byte (128-bit) by
default without the end user having to specify this flag. Is this
possible ?
For sake of completeness,
[gnu]:15 $ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/home/god/gcc/libexec/gcc/i786-pc-linux-gnu/4.7.0/lto-wrapper
Target: i786-pc-linux-gnu
Configured with: ./configure --prefix=/home/god/gnu/installed/gcc
--enable-languages=c,fortran --build=i786-pc-linux-gnu
--enable-checking=release --disable-libmudflap --enable-libgomp
--disable-shared --disable-bootstrap
Thread model: posix
gcc version 4.7.0 20110319 (experimental) (GCC)
Thanks !
--
-- Satish.BD
More information about the Gcc-help
mailing list