Guillaume Cottenceau <[EMAIL PROTECTED]> writes:
> > I'd like to write a spec file for the Perl module ExtUtils::F77.  This
> > module makes only sense to use with an installed Fortran compiler.  So I'd
> > like to require either gcc-g77 OR egcs-g77 (or maybe both :-]), but I don't
> > want to require BOTH.  So this would be not correct:
> > 
> > Requires: gcc-g77, egcs-g77
> > 
> > Okay, I could solve this problem by requiring %{_bindir}/g77, but
> > nonetheless, how do I write a Requires: line that is content if one of the
> > packages is present?
> 
> Basically this is possible when bith gcc-g77 and egcs-g77 provide
> something like "a-fortran-compiler" ; but I think they do not, for the
> moment.
> 
> Why not the solution of %{_bindir}/g77 it seems good no?
> 
> Anywayz I'm sure thierry our big gcc-compiler specialist shall lighten
> both of us?


egcs-g77 doesn't provide /usr/bin/g77. This is because egcs is only provided to
compile a few packages written in C or C++ that've problems with gcc-2.95.
Nobody should use it. gcc is the right compiler to use.
Fortran support is only accessible through 'egcs -x f77'.
if egcs-g77 is installed, egcs should recognize *.f as a fortran source file
and use the right frontend.

Anyway, the previous perl-module has only to requires g77.

-- 
        -- (c) tv, DUT anglais technique & gestion - administration department

Reply via email to