On Tue, 5 Jun 2007, Peter W. Draper wrote:
> The new way to do this kind of compilation is by using the compiler
> flags to pick up the include files, not some scripts and silly
> softlinks, so just a simple:
>
> alink -I/star/include -fno-second-underscore prog.f `img_link_adam`
>
> should do it (looking at that I'm wondering if that
> "-fno-second-underscore" should have been built in to alink, I'll
> check).
OK, checked that I think it should actually include both those compiler
flags, so that command will be the simpler:
alink prog.f `img_link_adam`
next release.
(for the list I've changed alink to include @STAR_FCFLAGS@ in the linker
command, should be harmless as we use @FC@ to do the linking).
Peter.
|