|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-05-17 08:36:57
On Monday 15 May 2006 21:02, Jorge Suit Perez Ronda wrote:
> Hello, I trying to link a fortran 'exe' target:
>
>
> =============================================
>
> exe testf
>
> ../examples/testpostfor.f g2clib gidpost ;
>
> =============================================
>
> and I have a few questions:
>
> 1- the file testpostfor is compiled with "g++", is it possible to change
> it in such a way so that it gets compiled with "g77"?
Should not "g++" do the right thing about .f files?
>
> (Now I have changed gfortran.jam, but I don't want to do it that way)
>
> 2- When linking "testf" it also use "g++", so, how to link with "g77"?
> When linking with g++ it fails because there is no main defined, but
> with g77 it links without problem.
Would you mind using different type for that, say:
fortran_exe testf : ......
? This can be added quickly.
- Volodya
-- Vladimir Prus http://vladimir_prus.blogspot.com Boost.Build V2: http://boost.org/boost-build2
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk