This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: gfortran and -mlong-double-128
- From: François-Xavier Coudert <fxcoudert at gmail dot com>
- To: Richard Guenther <richard dot guenther at gmail dot com>
- Cc: gfortran <fortran at gcc dot gnu dot org>, GCC Development <gcc at gcc dot gnu dot org>
- Date: Thu, 16 Feb 2006 13:57:39 +0100
- Subject: Re: gfortran and -mlong-double-128
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mvMS3PZXvynTdpLHt6PeobJy9KhEHqN/PqXHHFcDd1/dwOiuqNjqDFC4/5HcW1Q+nZOJrMNsdNv4p1FLcUZ6hoUz5RhkY5J45IvUk9mBNtXwhzUxg9pWQdcpCX+FYtXBGDEJqXSE+MwOoYOOLeMAedQBuedDqN3S9y181eF4Xz4=
- References: <19c433eb0602160309y754cf258kd00227b6d80bff2b@mail.gmail.com> <84fc9c000602160450i10b7370aqcec3d373feb1cb64@mail.gmail.com>
> I guess libgfortran has configury to figure out if kind=16 is available?
Yes.
> If so then libgfortran should be built with -mlong-double-128, as this
> should only add extra symbols that do not conflict with kind=4 and kind=8
> ones.
Hum, that has to be done early in the configury (before all
autodetection). Do you think it's better suited at the beginning of
libgfortran/configure.ac (a special test, to see if -mlong-double-128
is available, and if it is add it to CFLAGS), or should it be done in
an upper level (and here is the limit of my understanding of the build
mechanism)?
> Am I correct that for gfortran there is no such thing as long double
> == double for -mlong-double-64?
This is right. Fortran has a list of available floating-point modes,
and they are chosen by a unique numbering scheme (the number is called
a "kind").
FX