compiling

Pierre-Matthieu anglade pierre.matthieu.anglade@gmail.com
Tue Nov 8 08:52:00 GMT 2005


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


More information about the Gcc-help mailing list