Hello,
Is there anyone out there working on an ARM version of compat-gcc-g77?
Unfortunately, I have lots of "heritage" code in various obselete forms of Fortran and it certainly not compile with gfortran but it does compile with g77 on FC17 686_64. Also, for some mysterious reason, the old faithful route of f2c followed by gcc has stopped compiling these codes in recent releases of fedora core.
At my age and with my health history I cannot even think of re-coding this stuff and anyway I can use it on fc17 686 but it would be something of a coup to get it to go on the Raspberry Pi!
Here's hoping
Dave Cook
I was looking at it, a month or two ago. They just closed a bug that prevented the compiler gcc from building from srpm, and said it was fixed in rawhide. I'm going to test it again, to see if it is actually fixed, and if it is. It might non-trivial, but still not that bad to get working. Unless someone else wants to, it probably similar to ADA support. :)
From: David Cook d.cook@sheffield.ac.uk To: arm@lists.fedoraproject.org Sent: Wednesday, February 27, 2013 3:38 PM Subject: [fedora-arm] g77 for ARM?
Hello,
Is there anyone out there working on an ARM version of compat-gcc-g77?
Unfortunately, I have lots of "heritage" code in various obselete forms of Fortran and it certainly not compile with gfortran but it does compile with g77 on FC17 686_64. Also, for some mysterious reason, the old faithful route of f2c followed by gcc has stopped compiling these codes in recent releases of fedora core.
At my age and with my health history I cannot even think of re-coding this stuff and anyway I can use it on fc17 686 but it would be something of a coup to get it to go on the Raspberry Pi!
Here's hoping
Dave Cook
arm mailing list arm@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/arm
On Sat, Mar 2, 2013 at 7:15 PM, Sean Omalley omalley_s@rocketmail.com wrote:
I was looking at it, a month or two ago. They just closed a bug that prevented the compiler gcc from building from srpm, and said it was fixed in rawhide. I'm going to test it again, to see if it is actually fixed, and if it is. It might non-trivial, but still not that bad to get working. Unless someone else wants to, it probably similar to ADA support. :)
In both cases I believe you basically need to do a language bring up. I've not looked at exactly what required but the process would likely be something like: 1) cross compile on x86 2) native compile using the cross compile 3) local rpm build using native compile 4) rebuild rpm version using rpm version 5) import native rpm build into koji 6) koji build and then remove import
It should be fairly straight forward but most of that needs to be done by someone with appropriate admin rights in koji. I would be prepared to do it but someone would need to provide me with complete steps for 1-3 so I have a recipe to follow.
Peter
From: Peter Robinson pbrobinson@gmail.com To: Sean Omalley omalley_s@rocketmail.com Cc: David Cook d.cook@sheffield.ac.uk; "arm@lists.fedoraproject.org" arm@lists.fedoraproject.org Sent: Sunday, March 3, 2013 5:03 AM Subject: Re: [fedora-arm] g77 for ARM?
On Sat, Mar 2, 2013 at 7:15 PM, Sean Omalley omalley_s@rocketmail.com wrote:
I was looking at it, a month or two ago. They just closed a bug that prevented the compiler gcc from building from srpm, and said it was fixed in rawhide. I'm going to test it again, to see if it is actually fixed, and if it is. It might non-trivial, but still not that bad to get working. Unless someone else wants to, it probably similar to ADA support. :)
In both cases I believe you basically need to do a language bring up. I've not looked at exactly what required but the process would likely be something like:
- cross compile on x86
- native compile using the cross compile
- local rpm build using native compile
- rebuild rpm version using rpm version
- import native rpm build into koji
- koji build and then remove import
It should be fairly straight forward but most of that needs to be done by someone with appropriate admin rights in koji. I would be prepared to do it but someone would need to provide me with complete steps for 1-3 so I have a recipe to follow.
yes, at least for ADA you do need a working ADA compiler to compile ADA support.
I think you can get away with using the debian tarball for arm, then recompile the gcc.srpm using that, then use the new rpm to recompile the actual compiler to be included.(or recompile it again, if you don't trust the rpm. *shrugs*)