earlier gcc version installation

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

earlier gcc version installation

Jyh-Shyong Ho-3
Dear Cygwin users,

I have a program which I compiled with gcc/gfortran in a Cygwin/CygwinX
environment several years ago, however, I am not able to build the same
program with the gcc/gfortran (4.9.2) in the latest version of
Cgywin/CygwinX.  I tried to install the older version of gcc/gfortran
(4.6.x) on the current Cygwin/CugwinX so I can build my program again,
but I have not been successful.

I wonder if it is possible to build an older version of gcc on the
current Cygwin environment?  Installing version 5.1.0 of gcc on the
current Cygwin seems OK.

Regards

Jyh-Shyong Ho, Ph.D.
Research Scientist
National Center for High Performance Computing
Hsinchu, Taiwan, ROC
Reply | Threaded
Open this post in threaded view
|

Re: earlier gcc version installation

Warren Young-2
On May 21, 2015, at 8:39 AM, Jyh-Shyong Ho <[hidden email]> wrote:
>
> Dear Cygwin users,

This is the off-topic chat mailing list, not the user help list.  Please post such questions to the main Cygwin list next time, not here.

Mostly the rest of this message is going to send you to other sources, so if you feel the need to reply to this, send it to on one of those other places.  If you want, you can post a pointer to the new location for the discussion to this thread.

> I am not able to build the same program with the gcc/gfortran (4.9.2) in the latest version of Cgywin/CygwinX.

Then I suggest that you post the problem code and the error messages to an appropriate forum.

If the same version of GCC compiles this program on other platforms, and fails only on Cygwin, then that “appropriate forum" may be one of the Cygwin mailing lists.

If GCC 4.9.x won’t compile that software on *any* platform, then you need to take it up on a more general C/Fortran programming forum.

> I tried to install the older version of gcc/gfortran (4.6.x) on the current Cygwin/CugwinX so I can build my program again, but I have not been successful.

“It fails” is not a diagnosable condition.  How exactly did it fail?  What errors do you get?  Where did you get the older GCC packages?  How did you install them, given that you must not have done it through setup.exe?

We need details, and it would be nice to have a replicable test case, too.

Also, standard practice is to include the output of “cygcheck -rsv” with problem reports, as an attachment to the mailing list post.

> I wonder if it is possible to build an older version of gcc on the current Cygwin environment?

Why not?

I suggest starting with the Cygwin package source, which should be available from the same source that provided the old Cygwin GCC binary packages.  (If not, that archive is not complying with the GPL.)

If you got these packages from the Cygwin Time Machine, then I believe you have everything you need.
Reply | Threaded
Open this post in threaded view
|

Re: earlier gcc version installation

UFRJLu
In reply to this post by Jyh-Shyong Ho-3
Hi. I am trying to install some modules (LYNX, BC and UTIl ) but the new version seem to have other names for them. I could not see the version the instalation manual i am using is reffering to. Does anyone has any idea of wich modules iI have to install in the latest version°
Thanks in advance