This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: how to enable -mlong-double-128 option
"Jason Pernito" <jpernito@gmail.com> writes:
> On Fri, Nov 7, 2008 at 11:22 PM, Ian Lance Taylor <iant@google.com> wrote:
>> "Jason Pernito" <jpernito@gmail.com> writes:
>>
>>> Sorry if this is a duplicate post but I can't seem to find one and I
>>> am also unable to figure out how to make host gcc recognize this
>>> command line option. I already enabled --with-long-double-128 option
>>> during configure but it is not working when I ran the built gcc. By
>>> the way, I am using gcc-4.3.2.
>>
>> The -mlong-double-128 option only exists for the Alpha or the S/390.
>> As you using one of those targets? You didn't say.
>>
>
>
> Actually, I am building glibc-2.8-20081103 for powerpc-750-linux-gnu
> target and it failed with this during configure:
> checking whether gcc -g -O2 -mlong-double-128 uses IBM extended format... no
> checking whether gcc -g -O2 supports -mabi=ibmlongdouble... no
> configure: error: this configuration requires -mlong-double-128 IBM
> extended format support
> make: *** [/bonus/scratch/jpernito/btools/build_timestamps/powerpc-750-linux-gnu_gcc-4.3.2_glibc-20081013_pass1]
> Error 1
Sorry, you're quite right, it's a PPC option as well, albeit an
undocumented one.
Look in the config.log file to see what the error message was from the
compiler.
Ian