help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to change a compiler


From: welkin zzp
Subject: Re: how to change a compiler
Date: Wed, 23 Mar 2011 07:50:57 +0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223 Lightning/1.0b2 Thunderbird/3.1.8

On 2011年03月23日 04:48, Andy Buckle wrote:
On Tue, Mar 22, 2011 at 1:53 PM, welkin zzp<address@hidden>  wrote:
On 2011年03月22日 21:42, marco atzeri wrote:
On Tue, Mar 22, 2011 at 1:58 PM, welkin zzp  wrote:
On 2011年03月22日 19:48, marco atzeri wrote:
On Tue, Mar 22, 2011 at 10:02 AM, welkin zzp  wrote:
Hi,
    When I compile octave-3.4.0, encounter a error
which one ? My crystal ball is out of service ;-)

and somebody suggests that
change the compiler , and how to change compiler with the tarball ?
I don't understand your question, the tarball include octave sources
not surely the compiler

zzpwelkin
Marco
Hi,
I'm sorry for that. What I want to ask is that when I make the
octave-3.4.0
source package after configure , always encounter a error that "can't
open
debug.h", and Andy Buckle suggested use gfortran ,not f77, but I don't
know
how to replace F77 with gfortran when compiling, as what I can do is just
./configure、make and make install,so where and how I should do to change
the
fortran compiler?

Thanks
zzpwelkin

assuming you have the gfortran compiler installed

./configure F77=gfortran
Hi,
        I have done with ./configure F77=gfortran, but encounter a new error
when making  as following:

                In file included from misc/f77-fcn.h:26,
                         from misc/f77-extern.cc:28:
                misc/quit.h:27:15: error: new: No such file or directory

  but, the file quit.h truly under the misc directory, what should I do ?

zzpwelkin
is gfortran installed? if you do "gfortran --version" what do you get?

on my openSuSE system, I get this from a package called "gcc44-fortran".

I have a hunch that, if gfortran is installed in a way that the
configure process recognises, then it will be preferred.

Hi,
I have installed the gfortran, my operation system is ubuntu 10.04LST and I installed it by the program center tool ,the information is "GNU Fortran (Ubuntu 4.4.3-4ubuntu5) 4.4.3" as I do "gfortran --version".

    zzpwelkin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]