I guess David Coakley has some experience in building the 64-bit compiler.

Hi David, could you please provide some comments? Thank you very much.

2011/11/13 Hanfeng Qin <hanfengt...@gmail.com>:
> Even --host option instead of --build, it does not generate 64-bit
> executables either.
>
> Best regards,
> Hanfeng
>
>
> -----Original Message-----
> From: Jian-Xin Lai [mailto:laij...@gmail.com]
> Sent: Saturday, November 12, 2011 22:40
> To: Hanfeng Qin
> Cc: open64-devel@lists.sourceforge.net
> Subject: Re: [Open64-devel] compiling error cannot find -lgfortran
>
> You can have a try with --host=..., not --build=...
>
> 2011/11/12 Hanfeng Qin <hanfengt...@gmail.com>:
>> Hi Jianxin,
>> Thanks for your good idea. I hack it as your suggestions and I can
>> identify both libgfortran.a and libgfortran.so. But the changes are
>> still needed to make the building process pass. I am not sure why?
>>
>> By the way, My Fedora 16 is a x86_64 release, so I configure it with
>> option "--build=x86_64-unknown-linux-gnu". But it generates executable
>> with 32-bit elf format not 64-bit as I wish. What is the possible problem?
>>
>> Best regards,
>> Hanfeng
>>
>>
>> -----Original Message-----
>> From: Jian-Xin Lai [mailto:laij...@gmail.com]
>> Sent: Saturday, November 12, 2011 20:08
>> To: Hanfeng Qin
>> Cc: open64-devel@lists.sourceforge.net
>> Subject: Re: [Open64-devel] compiling error cannot find -lgfortran
>>
>> Hi,
>>
>> Could you please try to following commands to locate the libgfortran.a
>> on your system:
>> $ gfortran -m32 --print-file-name=libgfortran.a $ gfortran -m32
>> --print-file-name=libgfortran.so
>>
>> If there is no libgfortran.a on your system, you have to link the
>> crayf90 with the shared library. You can change the value of
>> F90_RTLIBS defined in osprey/linux/make/gcommondefs:
>> Current value:
>> F90_RTLIBS = -Wl,-Bstatic -lgfortran -Wl,-Bdynamic Change to:
>> F90_RTLIBS = -lgfortran
>>
>> 2011/11/12 Hanfeng Qin <hanfengt...@gmail.com>:
>>> Hello all,
>>> I downloaded open64-5.0 and met a compiling error as follows:
>>> -------
>>> GEN    compiler_build_date.c
>>> C
>>> /home/hanfeng/Workspace/tools/build-open64/osprey/targdir/crayf90/sgi
>>> /
>>> compil
>>> er_build_date.c
>>> LD
>>> /home/hanfeng/Workspace/tools/build-open64/osprey/targdir/crayf90/sgi
>>> /
>>> mfef95
>>> /usr/bin/ld: cannot find -lgfortran
>>> collect2: ld returned 1 exit status
>>> make[4]: *** [mfef95] Error 1
>>> make[3]: *** [default] Error 2
>>> make[2]: *** [first] Error 2
>>> make[2]: Leaving directory
>>> `/home/hanfeng/Workspace/tools/build-open64/osprey/targdir/crayf90'
>>> make[1]: *** [mfef95] Error 2
>>> make[1]: Leaving directory `/home/hanfeng/Workspace/tools/build-open64'
>>> make: *** [build] Error 2
>>> -------
>>> The version of gcc in my platform is 4.6.2 (actually, I work on
>>> Fedora 16, x86_64). I also checked the related development packages:
>>> $ rpm -qa | grep gfortran
>>> libgfortran-4.6.2-1.fc16.i686
>>> gcc-gfortran-4.6.2-1.fc16.x86_64
>>> libgfortran-4.6.2-1.fc16.x86_64
>>>
>>> Can anyone give my some suggestions to conquer that?
>>>
>>> Best regards,
>>> Hanfeng
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> -
>>> --------
>>> RSA(R) Conference 2012
>>> Save $700 by Nov 18
>>> Register now
>>> http://p.sf.net/sfu/rsa-sfdev2dev1
>>> _______________________________________________
>>> Open64-devel mailing list
>>> Open64-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/open64-devel
>>>
>>
>>
>>
>> --
>> Regards,
>> Lai Jian-Xin
>>
>>
>
>
>
> --
> Regards,
> Lai Jian-Xin
>
>



-- 
Regards,
Lai Jian-Xin

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to