Re: g77 and gfortran together
- From: Brian Salter-Duke <b_duke@xxxxxxxxxxxxxxxxx>
- Date: 21 Apr 2005 22:10:15 GMT
On Thu, 21 Apr 2005 03:47:03 +0000 (UTC), Steven G. Kargl
<kargl@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> In article <4267156a$0$8120$5a62ac22@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
> Brian Salter-Duke <b_duke@xxxxxxxxxxxxxxxxx> writes:
>> I use g77 all the time for my research code, but I want to play with
>> gfortran. I am currently using Fedora Core 3 with gcc/g77 version 3.4.2.
>> I have rpm's of the Fedora CDs for gcc4 and gfortran.
>>
>> Can I install gfortran and have no conflicts with g77?
>
> Yes, you can install both and no conflict will arise.
> Note, however, that if you compile a library with g77
> you can't link that library with a program compiled by
> gfortran. There is a patch to gfortran to add this
> functionality, but further testing is needed before
> it is added to repository.
>
>> Do I have to also install gcc4? Again if this is named gcc4, are there
>> conflicts?
>
> Yes, you need to install gcc 4.0.0 or mainline. If you
> compile from source, you can do
>
> ./configure --program-suffix=4 --prefix=/usr/somedir --languages=c,f95
>
> to install gcc4 and gfortran4 in somedir, which you can
> add to your path.
>
>> I realise that gcc4 and gfortran are still in development. Should I
>> download the latest versions or would it be OK to play with the ones on
>> the Fedora CD - gfortran 4.0.0-0.8 - for a while and upgrade when it gets
>> more serious?
>
> Go to www.gfortran.org. There are pre-compiled versions that
> are kept up to date, so the latest fixes are available.
Thank you most kindly. This is a very concise and helpfull description
of what I need to do.
Regards, Brian.
--
Brian Salter-Duke Melbourne, Australia
My real address is b_duke(AT)octa4(DOT)net(DOT)au
Use this for reply or followup
.
- References:
- g77 and gfortran together
- From: Brian Salter-Duke
- Re: g77 and gfortran together
- From: Steven G. Kargl
- g77 and gfortran together
- Prev by Date: Re: Array with unknown number of dimensions
- Next by Date: Re: g77 and gfortran together
- Previous by thread: Re: g77 and gfortran together
- Next by thread: Re: g77 and gfortran together
- Index(es):
Relevant Pages
|
|