Package Details: f2c 20200425-2

Git Clone URL: https://aur.archlinux.org/f2c.git (read-only, click to copy)
Package Base: f2c
Description: Fortran to C code translator
Upstream URL: http://www.netlib.org/f2c
Keywords: transpiler
Licenses: custom
Submitter: None
Maintainer: a.kudelin
Last Packager: a.kudelin
Votes: 58
Popularity: 0.79
First Submitted: 2009-10-11 19:13
Last Updated: 2020-05-30 16:52

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

Alister.Hood commented on 2014-05-05 12:17

Hmmm. When trying to compile things against this I get an error:
/usr/lib/libf2c.so.2: undefined reference to `MAIN__'

There are patches available (e.g. from Gentoo) for the f2c found at the "upstream" page. But this f2c seems to be different!
Is there an upstream url which actually corresponds to this f2c? Why is this f2c being used instead of the one from the upstream url?

xyproto commented on 2013-09-11 11:57

Compiling the output from f2c with gcc instead of tcc did indeed resolve the issue, thanks.

xyproto commented on 2013-09-11 08:55

Compiling the output from f2c with gcc instead of tcc did indeed resolve the issue (but tcc or the git revision of quine-relay has not changed since it did work, so it's tempting to assume that f2c is the cause of this). Thanks.

xyproto commented on 2013-09-11 08:52

Compiling the output from f2c with gcc instead of tcc did indeed resolve the issue. Thanks.

Jesin commented on 2013-09-11 00:02

xyproto: I just installed and ran quine-relay-git. The F77 -> F90 step segfaults under the default setup, but if I use gcc or clang instead of tcc for that step, it succeeds and completes the relay successfully, including the diff step at the end.

Do you get any errors when using another C compiler such as gcc or clang?

Jesin commented on 2013-09-09 00:47

I'm a little busy right now; sorry for the delay. I'll take a look at it tomorrow.

xyproto commented on 2013-09-06 14:17

The quine-relay-git package no longer works with this package here (for the same git revision that previously worked).

See: https://github.com/mame/quine-relay/issues/35

Does f2c work together with quine-relay-git for you?

Jesin commented on 2013-08-11 20:38

I'm not going to bother upstream about the lack of a unified Makefile. I might submit a report regarding the use of "long" vs "int32_t", since at least gfortran appears to use 32 bits for Fortran INTEGER variables, and platforms with 64-bit longs are so common now.

xyproto commented on 2013-08-09 11:20

There should be a single makefile (one in the top level directory, that calls the makefiles in the subdirectories) for building f2c, please submit a bug report and/or patch to dmg@acm.org. The email address was found at the bottom of this file: http://www.netlib.org/f2c/README

I'll ping you on IRC a few extra times too, just to be sure you got the message, just like you did. ;)

xyproto commented on 2013-08-09 10:03

There should be a single makefile for building f2c, please submit a bug report and/or patch to dmg@acm.org. The email address was found at the bottom of this file: http://www.netlib.org/f2c/README