public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Gfortran
@ 2020-07-15 14:30 HASIUK JAN F
  0 siblings, 0 replies; 15+ messages in thread
From: HASIUK JAN F @ 2020-07-15 14:30 UTC (permalink / raw)
  To: gcc-help

On what (whose) computer(s) do the programs run ?

^ permalink raw reply	[flat|nested] 15+ messages in thread

* gfortran
@ 2020-03-15  3:52 Song Hi Lee
  0 siblings, 0 replies; 15+ messages in thread
From: Song Hi Lee @ 2020-03-15  3:52 UTC (permalink / raw)
  To: gcc-help

Dear Sir (or Madam):

How can I get "gfortran" for Linux in RASPBERRY 3 B
and how to install it?
I have RASPBERRY 3 B+ which has gofrtran and I did
"sudo apt-get gfortran". It worked.
Thank you very much.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: GFortran
  2019-07-22 19:28 GFortran Александр К-ш
@ 2019-07-22 21:58 ` Jonathan Wakely
  0 siblings, 0 replies; 15+ messages in thread
From: Jonathan Wakely @ 2019-07-22 21:58 UTC (permalink / raw)
  To: Александр
	К-ш
  Cc: gcc-help

On Mon, 22 Jul 2019 at 20:28, Александр К-ш <russianbear77@gmail.com> wrote:
>
> Excuse for troubling.
> Bad link http://users.humboldt.edu/finneyb/gfortran-windows-20140629.exe

I've removed the link from
https://gcc.gnu.org/wiki/GFortranBinaries#Windows - thanks

^ permalink raw reply	[flat|nested] 15+ messages in thread

* GFortran
@ 2019-07-22 19:28 Александр К-ш
  2019-07-22 21:58 ` GFortran Jonathan Wakely
  0 siblings, 1 reply; 15+ messages in thread
From: Александр К-ш @ 2019-07-22 19:28 UTC (permalink / raw)
  To: gcc-help

Excuse for troubling.
Bad link http://users.humboldt.edu/finneyb/gfortran-windows-20140629.exe

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: gfortran
  2014-09-17 19:07 ` gfortran BERTRAND Joël
@ 2014-09-19  8:19   ` BERTRAND Joël
  0 siblings, 0 replies; 15+ messages in thread
From: BERTRAND Joël @ 2014-09-19  8:19 UTC (permalink / raw)
  To: port-alpha, gcc-help

BERTRAND Joël a écrit :
> BERTRAND Joël a écrit :
>>      Hello,
>>
>>      I have installed NetBSD-current on my PWS500au. All components run
>> as expected and I have tried to install gfortran from pkgsrc.
>>
>>      I have tried to build 4.8 and 4.9. pkgsrc seems to be broken for
>> alpha (on sparc64, I have modified PLIST to install package, but at
>> least gcc can be built). I have tried to build gfortran outside pkgsrc
>> with official compiler tarball. I only obtain another error. Linker
>> complains about several relocated symbols at the end of stage 1. I have
>> tried to bootstrap gcc, same result.
>>
>>      But NetBSD provide gcc 4.8 (without gfortran). How can I build
>> gfortran ?
>>
>>      Best regards,
>>
>>      JKB
>
>      Some news and no solution. I have tried to build gcc-4.9.1 from
> pkgsrc and from official tarball. Both crash with the same error :
>
> c++   -g -DIN_GCC    -fno-exceptions -fno-rtti
> -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
> -Wcast-qual -Wno-format -Wmissing-format-attribute -pedantic
> -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common
>   -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc -L/usr/lib
> -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o lto1 \
>          lto/lto-lang.o lto/lto.o lto/lto-object.o attribs.o
> lto/lto-partition.o lto/lto-symtab.o libbackend.a main.o tree-browser.o
> libcommon-target.a libcommon.a ../libcpp/libcpp.a
> ../libdecnumber/libdecnumber.a  -L/usr/pkg/lib -L/usr/pkg/lib
> -L/usr/pkg/lib -lmpc -lmpfr -lgmp -rdynamic  -lz libcommon.a
> ../libcpp/libcpp.a ./../intl/libintl.a
> ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a
> ../libdecnumber/libdecnumber.a
> libbackend.a(cse.o): In function `bb_has_eh_pred':
> /usr/pkgsrc/lang/gcc49/work/build/gcc/../../gcc-4.9.1/gcc/basic-block.h:895:(.text+0xbe8):
> relocation truncated to fit: ELF_LITERAL against `.text'
> libbackend.a(cse.o): In function `approx_reg_cost_1':
> /usr/pkgsrc/lang/gcc49/work/build/gcc/../../gcc-4.9.1/gcc/cse.c:673:(.text+0x1580):
> relocation truncated to fit: ELF_LITERAL against `.text'
> libbackend.a(cse.o): In function `mention_regs':
> /usr/pkgsrc/lang/gcc49/work/build/gcc/../../gcc-4.9.1/gcc/cse.c:1032:(.text+0x2758):
> relocation truncated to fit: ELF_LITERAL against `.text'
> /usr/pkgsrc/lang/gcc49/work/build/gcc/../../gcc-4.9.1/gcc/cse.c:1033:(.text+0x2774):
> relocation truncated to fit: ELF_LITERAL against `.text'
> /usr/pkgsrc/lang/gcc49/work/build/gcc/../../gcc-4.9.1/gcc/cse.c:1033:(.text+0x27b4):
> relocation truncated to fit: ELF_LITERAL against `.text'
> /usr/pkgsrc/lang/gcc49/work/build/gcc/../../gcc-4.9.1/gcc/cse.c:1033:(.text+0x27f4):
> relocation truncated to fit: ELF_LITERAL against `.text'
> /usr/pkgsrc/lang/gcc49/work/build/gcc/../../gcc-4.9.1/gcc/cse.c:1052:(.text+0x2980):
> relocation truncated to fit: ELF_LITERAL against `.text'
> /usr/pkgsrc/lang/gcc49/work/build/gcc/../../gcc-4.9.1/gcc/cse.c:1054:(.text+0x29c0):
> relocation truncated to fit: ELF_LITERAL against `.text'
> /usr/pkgsrc/lang/gcc49/work/build/gcc/../../gcc-4.9.1/gcc/cse.c:1064:(.text+0x2ad0):
> relocation truncated to fit: ELF_LITERAL against `.text'
> /usr/pkgsrc/lang/gcc49/work/build/gcc/../../gcc-4.9.1/gcc/cse.c:1071:(.text+0x2bcc):
> relocation truncated to fit: ELF_LITERAL against `.text'
> /usr/pkgsrc/lang/gcc49/work/build/gcc/../../gcc-4.9.1/gcc/cse.c:1088:(.text+0x2c5c):
> additional relocation overflows omitted from the output
> ../../gcc-4.9.1/gcc/lto/Make-lang.in:71: recipe for target 'lto1' failed
> gmake[3]: *** [lto1] Error 1
> gmake[3]: Leaving directory '/usr/pkgsrc/lang/gcc49/work/build/gcc'
> Makefile:4220: recipe for target 'all-stage1-gcc' failed
> gmake[2]: *** [all-stage1-gcc] Error 2
> gmake[2]: Leaving directory '/usr/pkgsrc/lang/gcc49/work/build'
> Makefile:19903: recipe for target 'stage1-bubble' failed
> gmake[1]: *** [stage1-bubble] Error 2
> gmake[1]: Leaving directory '/usr/pkgsrc/lang/gcc49/work/build'
> Makefile:889: recipe for target 'all' failed
> gmake: *** [all] Error 2
> *** Error code 2
>
> Stop.
> make[1]: stopped in /usr/pkgsrc/lang/gcc49
> *** Error code 1
>
> Stop.
> make: stopped in /usr/pkgsrc/lang/gcc49
>
>      I haven't found any solution to fix it. I haven't been able to
> build gcc last 4.6 or 4.8 on netbsd-alpha also.
>
>      Help will be welcome.
>
>      Regards,
>
>      JKB

	Some news.

	If I disable lto, I can successfully build gcc 4.9.1 first stage. Thus, 
to build NetBSD and pkgsrc without any trouble on alpha, I have to add 
in /etc/mk.conf :

.if ${.CURDIR:M/usr/pkgsrc*}
.if ${PKGPATH} == "lang/gcc49"
CONFIGURE_ARGS+= --disable-lto
.endif
.endif

	Regards,

	JKB

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: gfortran
       [not found] <5417F26E.9020301@systella.fr>
@ 2014-09-17 19:07 ` BERTRAND Joël
  2014-09-19  8:19   ` gfortran BERTRAND Joël
  0 siblings, 1 reply; 15+ messages in thread
From: BERTRAND Joël @ 2014-09-17 19:07 UTC (permalink / raw)
  To: port-alpha, gcc-help

BERTRAND Joël a écrit :
>      Hello,
>
>      I have installed NetBSD-current on my PWS500au. All components run
> as expected and I have tried to install gfortran from pkgsrc.
>
>      I have tried to build 4.8 and 4.9. pkgsrc seems to be broken for
> alpha (on sparc64, I have modified PLIST to install package, but at
> least gcc can be built). I have tried to build gfortran outside pkgsrc
> with official compiler tarball. I only obtain another error. Linker
> complains about several relocated symbols at the end of stage 1. I have
> tried to bootstrap gcc, same result.
>
>      But NetBSD provide gcc 4.8 (without gfortran). How can I build
> gfortran ?
>
>      Best regards,
>
>      JKB

	Some news and no solution. I have tried to build gcc-4.9.1 from pkgsrc 
and from official tarball. Both crash with the same error :

c++   -g -DIN_GCC    -fno-exceptions -fno-rtti 
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings 
-Wcast-qual -Wno-format -Wmissing-format-attribute -pedantic 
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common 
  -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc -L/usr/lib 
-Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o lto1 \
         lto/lto-lang.o lto/lto.o lto/lto-object.o attribs.o 
lto/lto-partition.o lto/lto-symtab.o libbackend.a main.o tree-browser.o 
libcommon-target.a libcommon.a ../libcpp/libcpp.a 
../libdecnumber/libdecnumber.a  -L/usr/pkg/lib -L/usr/pkg/lib 
-L/usr/pkg/lib -lmpc -lmpfr -lgmp -rdynamic  -lz libcommon.a 
../libcpp/libcpp.a ./../intl/libintl.a 
../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a 
../libdecnumber/libdecnumber.a
libbackend.a(cse.o): In function `bb_has_eh_pred':
/usr/pkgsrc/lang/gcc49/work/build/gcc/../../gcc-4.9.1/gcc/basic-block.h:895:(.text+0xbe8): 
relocation truncated to fit: ELF_LITERAL against `.text'
libbackend.a(cse.o): In function `approx_reg_cost_1':
/usr/pkgsrc/lang/gcc49/work/build/gcc/../../gcc-4.9.1/gcc/cse.c:673:(.text+0x1580): 
relocation truncated to fit: ELF_LITERAL against `.text'
libbackend.a(cse.o): In function `mention_regs':
/usr/pkgsrc/lang/gcc49/work/build/gcc/../../gcc-4.9.1/gcc/cse.c:1032:(.text+0x2758): 
relocation truncated to fit: ELF_LITERAL against `.text'
/usr/pkgsrc/lang/gcc49/work/build/gcc/../../gcc-4.9.1/gcc/cse.c:1033:(.text+0x2774): 
relocation truncated to fit: ELF_LITERAL against `.text'
/usr/pkgsrc/lang/gcc49/work/build/gcc/../../gcc-4.9.1/gcc/cse.c:1033:(.text+0x27b4): 
relocation truncated to fit: ELF_LITERAL against `.text'
/usr/pkgsrc/lang/gcc49/work/build/gcc/../../gcc-4.9.1/gcc/cse.c:1033:(.text+0x27f4): 
relocation truncated to fit: ELF_LITERAL against `.text'
/usr/pkgsrc/lang/gcc49/work/build/gcc/../../gcc-4.9.1/gcc/cse.c:1052:(.text+0x2980): 
relocation truncated to fit: ELF_LITERAL against `.text'
/usr/pkgsrc/lang/gcc49/work/build/gcc/../../gcc-4.9.1/gcc/cse.c:1054:(.text+0x29c0): 
relocation truncated to fit: ELF_LITERAL against `.text'
/usr/pkgsrc/lang/gcc49/work/build/gcc/../../gcc-4.9.1/gcc/cse.c:1064:(.text+0x2ad0): 
relocation truncated to fit: ELF_LITERAL against `.text'
/usr/pkgsrc/lang/gcc49/work/build/gcc/../../gcc-4.9.1/gcc/cse.c:1071:(.text+0x2bcc): 
relocation truncated to fit: ELF_LITERAL against `.text'
/usr/pkgsrc/lang/gcc49/work/build/gcc/../../gcc-4.9.1/gcc/cse.c:1088:(.text+0x2c5c): 
additional relocation overflows omitted from the output
../../gcc-4.9.1/gcc/lto/Make-lang.in:71: recipe for target 'lto1' failed
gmake[3]: *** [lto1] Error 1
gmake[3]: Leaving directory '/usr/pkgsrc/lang/gcc49/work/build/gcc'
Makefile:4220: recipe for target 'all-stage1-gcc' failed
gmake[2]: *** [all-stage1-gcc] Error 2
gmake[2]: Leaving directory '/usr/pkgsrc/lang/gcc49/work/build'
Makefile:19903: recipe for target 'stage1-bubble' failed
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory '/usr/pkgsrc/lang/gcc49/work/build'
Makefile:889: recipe for target 'all' failed
gmake: *** [all] Error 2
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/lang/gcc49
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/gcc49

	I haven't found any solution to fix it. I haven't been able to build 
gcc last 4.6 or 4.8 on netbsd-alpha also.

	Help will be welcome.

	Regards,

	JKB

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: gfortran
  2011-08-08 21:08 ` gfortran Ian Lance Taylor
  2011-08-08 21:27   ` gfortran Kouzes, Richard T
@ 2011-08-10  0:01   ` Kouzes, Richard T
  1 sibling, 0 replies; 15+ messages in thread
From: Kouzes, Richard T @ 2011-08-10  0:01 UTC (permalink / raw)
  To: Ian Lance Taylor; +Cc: gcc-help

Ian - Just wanted you to know that I got it working correctly. Thanks for your help.
Dick

__________________________________________________________

Richard Kouzes, Ph.D.
Laboratory Fellow
FUNDAMENTAL & COMPUTATIONAL SCIENCES DIRECTORATE

Pacific Northwest National Laboratory
902 Battelle Boulevard
P.O. Box 999, MSIN K7-36
Richland, WA  99352 USA
Tel: 509-372-4858
Fax: 509-372-4969
Cell: 509-430-0873
Home: 509-628-0152
rkouzes@pnnl.gov
www.pnnl.gov
webpages.charter.net/rkouzes


________________________________
From: Ian Lance Taylor <iant@google.com>
Date: Mon, 8 Aug 2011 14:07:38 -0700
To: "Kouzes, Richard T" <RKouzes@pnnl.gov>
Cc: <gcc-help@gcc.gnu.org>
Subject: Re: gfortran

"Kouzes, Richard T" <RKouzes@pnnl.gov> writes:

> I am new to this, and want to get gfortran running on my Mac. I downloaded and installed gfortran-4.6.1-i686-SnowLeopard
> When I run it in a terminal window by typing "gfortran hello.f" on a small file I created, I get:
> gfortran: error trying to exec 'as': execvp: No such file or directory
>
> Can you suggest what I am doing wrong?

You need to install the assembler, which is not part of the gfortran
package.  On a Mac I believe you can do this by installing XCode.

Ian

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: gfortran
  2011-08-08 21:08 ` gfortran Ian Lance Taylor
@ 2011-08-08 21:27   ` Kouzes, Richard T
  2011-08-10  0:01   ` gfortran Kouzes, Richard T
  1 sibling, 0 replies; 15+ messages in thread
From: Kouzes, Richard T @ 2011-08-08 21:27 UTC (permalink / raw)
  To: Ian Lance Taylor; +Cc: gcc-help

Thanks. That got me one step farther. Now it says:
gfortran hello.f
ld: unknown option: -no_compact_unwind
collect2: ld returned 1 exit status


Any idea?
Thanks
Dick

___________________________________________________________

Richard Kouzes, Ph.D.
Laboratory Fellow
FUNDAMENTAL & COMPUTATIONAL SCIENCES DIRECTORATE

Pacific Northwest National Laboratory
902 Battelle Boulevard
P.O. Box 999, MSIN K7-36
Richland, WA  99352 USA
Tel: 509-372-4858
Fax: 509-372-4969
Cell: 509-430-0873
Home: 509-628-0152
rkouzes@pnl.gov
www.pnl.gov
webpages.charter.net/rkouzes





________________________________
From: Ian Lance Taylor <iant@google.com>
Date: Mon, 8 Aug 2011 14:07:38 -0700
To: "Kouzes, Richard T" <RKouzes@pnnl.gov>
Cc: <gcc-help@gcc.gnu.org>
Subject: Re: gfortran

"Kouzes, Richard T" <RKouzes@pnnl.gov> writes:

> I am new to this, and want to get gfortran running on my Mac. I downloaded and installed gfortran-4.6.1-i686-SnowLeopard
> When I run it in a terminal window by typing "gfortran hello.f" on a small file I created, I get:
> gfortran: error trying to exec 'as': execvp: No such file or directory
>
> Can you suggest what I am doing wrong?

You need to install the assembler, which is not part of the gfortran
package.  On a Mac I believe you can do this by installing XCode.

Ian

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: gfortran
  2011-08-08 20:55 gfortran Kouzes, Richard T
@ 2011-08-08 21:08 ` Ian Lance Taylor
  2011-08-08 21:27   ` gfortran Kouzes, Richard T
  2011-08-10  0:01   ` gfortran Kouzes, Richard T
  0 siblings, 2 replies; 15+ messages in thread
From: Ian Lance Taylor @ 2011-08-08 21:08 UTC (permalink / raw)
  To: Kouzes, Richard T; +Cc: gcc-help

"Kouzes, Richard T" <RKouzes@pnnl.gov> writes:

> I am new to this, and want to get gfortran running on my Mac. I downloaded and installed gfortran-4.6.1-i686-SnowLeopard
> When I run it in a terminal window by typing "gfortran hello.f" on a small file I created, I get:
> gfortran: error trying to exec 'as': execvp: No such file or directory
>
> Can you suggest what I am doing wrong?

You need to install the assembler, which is not part of the gfortran
package.  On a Mac I believe you can do this by installing XCode.

Ian

^ permalink raw reply	[flat|nested] 15+ messages in thread

* gfortran
@ 2011-08-08 20:55 Kouzes, Richard T
  2011-08-08 21:08 ` gfortran Ian Lance Taylor
  0 siblings, 1 reply; 15+ messages in thread
From: Kouzes, Richard T @ 2011-08-08 20:55 UTC (permalink / raw)
  To: gcc-help

I am new to this, and want to get gfortran running on my Mac. I downloaded and installed gfortran-4.6.1-i686-SnowLeopard
When I run it in a terminal window by typing "gfortran hello.f" on a small file I created, I get:
gfortran: error trying to exec 'as': execvp: No such file or directory

Can you suggest what I am doing wrong?
Thanks
Dick

___________________________________________________________

Richard Kouzes, Ph.D.
Laboratory Fellow
FUNDAMENTAL & COMPUTATIONAL SCIENCES DIRECTORATE

Pacific Northwest National Laboratory
902 Battelle Boulevard
P.O. Box 999, MSIN K7-36
Richland, WA  99352 USA
Tel: 509-372-4858
Fax: 509-372-4969
Cell: 509-430-0873
Home: 509-628-0152
rkouzes@pnl.gov
www.pnl.gov
webpages.charter.net/rkouzes



^ permalink raw reply	[flat|nested] 15+ messages in thread

* gfortran
@ 2010-02-14  5:16 Byron Dieterle
  0 siblings, 0 replies; 15+ messages in thread
From: Byron Dieterle @ 2010-02-14  5:16 UTC (permalink / raw)
  To: gcc-help; +Cc: bdieterl

I just tried to install it after not fortraning for 30 yrs.  It seemed to 
install on my intel mac but if I try to run it on a simple helloworld 
program it does not recognize the installation.  No matter what folder I 
am in it still says:  gfortran: Command not found.

MUst be something simple; any suggestions?
Thanks, Byron Dieterle


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Gfortran
  2008-09-16 17:05 Gfortran William Miner
@ 2008-09-16 18:21 ` Kai Henningsen
  0 siblings, 0 replies; 15+ messages in thread
From: Kai Henningsen @ 2008-09-16 18:21 UTC (permalink / raw)
  To: William Miner; +Cc: gcc-help

On Tue, Sep 16, 2008 at 19:04, William Miner <william.miner@enig.com> wrote:
> So I look in /usr/lib and I see that I have
>
> lrwxr-xr-x    1 root  wheel        16 Jun 17  2007 libiconv.2.2.0.dylib ->
> libiconv.2.dylib
> -rw-r--r--    1 root  wheel    987544 Aug 18 11:17 libiconv.2.dylib
> lrwxr-xr-x    1 root  wheel        20 Jun 17  2007 libiconv.dylib ->
> libiconv.2.2.0.dylib
>
> Which looks suspicious to me (I just inherited this computer) because it
> looks like it has version 2 but is trying to fool the system into thinking
> that it has version 2.2.0. But in any case it certainly has a newer version
> than 1.12.

No, that is not what it means.

The number on the compiled library is the SONAME (or equivalent), not
the package version; the two are usually not related. The SONAME is
meant to indicate compatibility. So if the interface to the libtrrary
changes, the SONAME changes; but if only the implementation changes,
the SONAME stays the same. And the details of the SONAME relate to how
the interface changed. (There is a much better explanation in the
libtool documentation.)

Of course, it's also always possible that there's more than one
libiconv project ...

In any case, you can usually find out the version number by looking
inside the header files the library installed.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Gfortran
@ 2008-09-16 17:05 William Miner
  2008-09-16 18:21 ` Gfortran Kai Henningsen
  0 siblings, 1 reply; 15+ messages in thread
From: William Miner @ 2008-09-16 17:05 UTC (permalink / raw)
  To: gcc-help

When I try to use gfortran I get the following;

x42071d54:~/blas williamminer$ gfortran -c blas.f90
dyld: Library not loaded: /usr/lib/ libiconv.2.dylib
  Referenced from: /usr/local/bin/gfortran
  Reason: Incompatible library version: gfortran requires version 7.0.0 or
later, but libiconv.2.dylib provides version 5.0.0
Trace/BPT trap
x42071d54:~/blas williamminer$

So I think that I need to update libiconv. So I go to the GNU site
http://www.gnu.org/software/libiconv/#downloading and I see

The latest release is
http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.12.tar.gz

So I look in /usr/lib and I see that I have

lrwxr-xr-x    1 root  wheel        16 Jun 17  2007 libiconv.2.2.0.dylib ->
libiconv.2.dylib
-rw-r--r--    1 root  wheel    987544 Aug 18 11:17 libiconv.2.dylib
lrwxr-xr-x    1 root  wheel        20 Jun 17  2007 libiconv.dylib ->
libiconv.2.2.0.dylib

Which looks suspicious to me (I just inherited this computer) because it
looks like it has version 2 but is trying to fool the system into thinking
that it has version 2.2.0. But in any case it certainly has a newer version
than 1.12.

I¹m have a 1.8 GHz PowerPC Mac G5 running OS 10.4.11.

Thanks!

Buff Miner


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: gfortran
  2007-03-21 12:21 gfortran Seijo Kruizinga
@ 2007-03-22 10:01 ` Bud Davis
  0 siblings, 0 replies; 15+ messages in thread
From: Bud Davis @ 2007-03-22 10:01 UTC (permalink / raw)
  To: Seijo Kruizinga, gcc-help


--- Seijo Kruizinga <s.kruizinga@hccnet.nl> wrote:

> L.S.
> 
> I recently downloaded the latest version of gfortran
> (4.3.0). In general it 
> works very well. I met, however, a curious problem.
> When I tried to open a 
> file twice with different unit-numbers I got an
> error message during 
> running. (I try to read the files synchron with a
> records spacing). In f77 
> this was allowed. I can imagine some problems if you
> use then read/write. 
> But even with status'='OLD' it was refused. I use it
> under Suse 10.0.
> 
> Thanks for your help,
> 
> Seijo Kruizinga 
> 
> 


is this an example of your problem:

$ cat b.f
       open(unit=20,file='b.f')
       open(unit=30,file='b.f')
       print*,'ok'
       end
$ g77 b.f
$ ./a.out
 ok
$ gfortran -static b.f
$ ./a.out
At line 2 of file b.f
Fortran runtime error: File already opened in another
unit

--bud


^ permalink raw reply	[flat|nested] 15+ messages in thread

* gfortran
@ 2007-03-21 12:21 Seijo Kruizinga
  2007-03-22 10:01 ` gfortran Bud Davis
  0 siblings, 1 reply; 15+ messages in thread
From: Seijo Kruizinga @ 2007-03-21 12:21 UTC (permalink / raw)
  To: gcc-help

L.S.

I recently downloaded the latest version of gfortran (4.3.0). In general it 
works very well. I met, however, a curious problem. When I tried to open a 
file twice with different unit-numbers I got an error message during 
running. (I try to read the files synchron with a records spacing). In f77 
this was allowed. I can imagine some problems if you use then read/write. 
But even with status'='OLD' it was refused. I use it under Suse 10.0.

Thanks for your help,

Seijo Kruizinga 

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2020-07-15 14:30 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-15 14:30 Gfortran HASIUK JAN F
  -- strict thread matches above, loose matches on Subject: below --
2020-03-15  3:52 gfortran Song Hi Lee
2019-07-22 19:28 GFortran Александр К-ш
2019-07-22 21:58 ` GFortran Jonathan Wakely
     [not found] <5417F26E.9020301@systella.fr>
2014-09-17 19:07 ` gfortran BERTRAND Joël
2014-09-19  8:19   ` gfortran BERTRAND Joël
2011-08-08 20:55 gfortran Kouzes, Richard T
2011-08-08 21:08 ` gfortran Ian Lance Taylor
2011-08-08 21:27   ` gfortran Kouzes, Richard T
2011-08-10  0:01   ` gfortran Kouzes, Richard T
2010-02-14  5:16 gfortran Byron Dieterle
2008-09-16 17:05 Gfortran William Miner
2008-09-16 18:21 ` Gfortran Kai Henningsen
2007-03-21 12:21 gfortran Seijo Kruizinga
2007-03-22 10:01 ` gfortran Bud Davis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).