Well so far all I did was edit “build-nto” and change
–enable-languages=c++
to
–enable-languages=c++,f77
and I got all stages to go through. Make install does not finish, but it does
get to the point where everything is in place to use g77. I needed to do
cd /usr/bin
ln -s ntox86-g77 g77
ln -s ntox86-g77 f77
first. Now I am happily compiling FORTRAN code. You also need libf2c if you
want to link it with C code (which I do). This is available from gnu and
compiles w/o any changes. I think libc and libgcc are required, but linking is
done in the background by g77, I think – so I don’t really know.
“Bill Caroselli (Q-TPS)” wrote:
Hi Eric
Can you itemize the things that needed to be changed to generate Fortran
programs?
BTW, what run time libs do they use? Are they actually using C libs?
“Eric Klavins” <> klavins@caltech.edu> > wrote in message
news:> 3D07A0F2.8053110E@caltech.edu> …
Well, it seems to have worked! Without any changes. Those people who write
these amazing configure scripts and Makefiles are themselves amazing.
Now I’m just stuck on “make install” which crashes while untaring
something. Do
you use “make install”? I noticed that the install directory in the cvs’d
gcc-2.95* is missing. Is there a recommended installation procedure?
Thanks!
-eric
Kris Warkentin wrote:
All told, there isn’t really that much different in our gcc as compared
to
the base GNU one. It’s entirely possible that it will work right out of
the
box for you. The majority of our changes are configuration related and,
as
far as I know, no one has ever tried what you’re doing. You may find
that
you need some tweakage of config files to make it go and that’s it. You
may
also find that you need a lot more. Post your progress here if you
like.
I’d be interested to hear how it’s going and may be able to offer some
help.
cheers,
Kris
“Klavins” <> asd@asd.com> > wrote in message
news:> 3D0699FF.7858B242@caltech.edu> …
Greetings,
We are in desparate need of a FORTRAN compiler for QNX 6.1 (yes
people
do still use FORTRAN various fairly good reasons).
To that end, I am about to attept to compile f77 by adding
–enable-languages=c++,f77
to ./build-nto in your 2.95.3 cvs’d gcc distribution. (which I have
just
discovered – I was formerly trying to start from the standard gnu 3.0
source which was giving me a headache).
I suspect that this isn’t going to just work the first time (or you
guys would have already done it). My question is: Why not? Is it
horrible? Am I going to be loosing sleep all week trying to get this
to
happen?
Any advice before I jump into the brink?
Best regards,
-eric
\
o----
| Eric Klavins
| Postdoctoral Scholar
Caltech Computer Science
klavins@cs.caltech.edu
(626)395-4858
\
–
o----
| Eric Klavins
| Postdoctoral Scholar
Caltech Computer Science
klavins@cs.caltech.edu
(626)395-4858