> % cat test.f90
> SUBROUTINE sub1
>
> END SUBROUTINE sub1
>
> SUBROUTINE sub2
>
> END SUBROUTINE sub2
>
> Now when I try to compile this file,
>
> % xlf90 -F:f90 -c test.f90
I don't know xlf90 but to most compilers -c means compile to .o but
don't link.
> ** sub1 === End of Compilation 1 ===
> ** sub2 === End of Compilation 2 ===
> 1501-510 Compilation successful for file test.f90.
> ld: 0711-245 WARNING: No csects or exported symbols have been saved.
So why the ld? Presumably the error is just that there is no main
program.
Is xlf90 an alias perhaps?
Is there a vebose option?
Harvey
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|