This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: compiling


What happens when you try to execute your band.exe?
What is the error message?

Two frequent error:
-if you try:
> f77 -o band.exe *.f
then
> band.exe
the file may not be found.
try
> ./band.exe

On some system your compiler is not compatible with the defaults
runtime libs. (it is the cas with my redhat fc4 :-( )
Then you migh which to do:
> f77 -static  -o band.exe *.f
> ./band.exe

--
Pierre-Matthieu Anglade

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]