Testing __float128 [Cygwin]

Angelo Graziosi angelo.graziosi@alice.it
Mon Sep 6 11:39:00 GMT 2010


Jerry,
perhaps we are misinterpreting...

If I understand what is written here:


http://gcc.gnu.org/ml/fortran/2010-08/msg00499.html

I should:

1. build gfortran with float 128 support (and this is done OB with last 
snapshot 20100904)

2. *build* and install libquad library with the justs build gfortran

3. rebuild gfortran adding the --with-quad=... option to configur and 
applying the patches:

http://gcc.gnu.org/ml/fortran/2010-08/msg00499/full_testing_2.diff

Well, it is step 2. which is broken for me.

If I am wrong, what *exactly* are the step to have QP in gfortran [Cygwin]?

Thanks,
Angelo.

Il 06/09/2010 3.11, Jerry DeLisle ha scritto:
> On 09/05/2010 03:33 PM, Angelo Graziosi wrote:
>> I have tried to build libquad,
>>
>> $ CC='gcc-4.6' CXX='g++-4.6' CPP='cpp-4.6' ./configure --prefix=/tmp/foo
>> && make && make install
>>
>> with current GCC-4.6 snapshot (no patches needed this time, obviously):
>>
>> $ gcc-4.6 -v
>> Using built-in specs.
>> COLLECT_GCC=gcc-4.6
>> COLLECT_LTO_WRAPPER=/usr/local/gfortran/libexec/gcc/i686-pc-cygwin/4.6.0/lto-wrpper.exe
>>
>>
>> Target: i686-pc-cygwin
>> Configured with: /tmp/gcc-4.6-20100904/configure
>> --prefix=/usr/local/gfortran -program-suffix=-4.6
>> --enable-languages=c,c++,fortran --enable-checking=release
>> -enable-threads=posix --enable-libgomp --disable-bootstrap
>> --disable-libmudflap--disable-shared
>> Thread model: posix
>> gcc version 4.6.0 20100904 (experimental) (GCC)
>>
>> but same failure :(
>>
>> So, I am just curious to know what I am missing...
>
> When you build gcc/gfortran you must configure --with-quad= set to the
> same place where you set --prefix= when you configured and installed
> libquad. This allows the configury to find libquad when building
> libgfortran.
>
> I did not see where you used --with-quad when you configured gcc. At
> least it does not show from the -v output.
>
> Regards,
>
> Jerry



More information about the Fortran mailing list