This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug fortran/32446] F0.n output format fails with large numbers



------- Comment #9 from John dot Harper at mcs dot vuw dot ac dot nz  2007-06-21 22:07 -------
Subject: Re:  F0.n output format fails with large numbers

On Thu, 21 Jun 2007, burnus at gcc dot gnu dot org wrote:

> Date: 21 Jun 2007 06:16:53 -0000
> From: burnus at gcc dot gnu dot org <gcc-bugzilla@gcc.gnu.org>
> To: john.harper@vuw.ac.nz
> Subject: [Bug fortran/32446] F0.n output format fails with large numbers
> 
>
>
> ------- Comment #7 from burnus at gcc dot gnu dot org  2007-06-21 06:16 -------
>> Host triplet is: processor - platform - os
>> So depending on your processor it would be something like,
>> i686-pc-linux-gnu
>> x86-64-unknown-linux
>
>> You can get this from the command uname
>> Try  uname -p -i -o
>
> Easier is of cause:  gfortran -v
> That prints (among other things):  Target: x86_64-unknown-linux-gnu

On my system gfortran  -v and uname -p -i -o give these results:

harper@RHEL5 test system: ~ 2 >gfortran -v
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info --enable-shared --enable-threads=posix 
--enable-checking=release --with-system-zlib --enable-__cxa_atexit 
--disable-libunwind-exceptions --enable-libgcj-multifile 
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada 
--enable-java-awt=gtk --disable-dssi --enable-plugin 
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre 
--with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.1 20070105 (Red Hat 4.1.1-52)
harper@RHEL5 test system: ~ 3 >uname -p -i -o
i686 i386 GNU/Linux
harper@RHEL5 test system: ~ 4 >

When I'm composing a gfortran bug report I'm asked for 3 different sorts
of triplet: host, target and build. From the above and burnus's reply
it seems that my host triplet might be one of these two:
i386-redhat-linux (from gfortran -v saying --host=i386-redhat-linux)
i686 i386 GNU/Linux (from uname -p -i -o saying that)
and my target triplet might be
i386-redhat-linux (from gfortran -v saying Target: i386-redhat-linux)
but I still have no idea what my build triplet is nor how to find it.

IMHO your web page needs to explain more clearly what these triplets
are and how to find them. I'm a Fortran programmer, not a C programmer
or a systems programmer. Those terms are not defined in the Fortran
standard and I had never seen them until reporting a suspected bug
in gfortran. When googling "build triplet" I found some questions from
others as confused as myself, but no answers.

-- John Harper, School of Mathematics, Statistics and Computer Science,
Victoria University, PO Box 600, Wellington 6140, New Zealand
e-mail john.harper@vuw.ac.nz phone (+64)(4)463 5341 fax (+64)(4)463 5045


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32446


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