[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gfortran FFLAGS without paths?



Hi, 

uh, sorry, that should read "FLIBS" instead of "FFLAGS", everywhere.

On Tue, Aug 18, 2009 at 09:04:58PM +0200, Thomas Weber wrote:
> Hi, 
> 
> I'm maintaining GNU Octave in Debian. I'm facing a problem with the fact
> that it consists of both C++ and Fortran and I better state that I don't
> know Fortran. Octave's FFLAGS as determined by configure are (breaks added
> for better readibility)
> 
> checking for Fortran 77 libraries of gfortran...  
> 	-L/usr/lib/gcc/x86_64-linux-gnu/4.3.2 
> 	-L/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib 
> 	-L/lib/../lib -L/usr/lib/../lib 
> 	-L/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../.. 
> 	-lhdf5 -lz -lgfortranbegin -lgfortran -lm
> 
> 
> Is there a chance of getting rid of the "-L" paths there, that is it is
> a) possible without crude hacks?
> b) sensible?
> 
> These flags are hardcoded with the compiler flags into one of Octave's
> scripts. If the compiler version changes later on, I have a problem,
> that's why I'm asking. See e.g.
> https://bugs.launchpad.net/bugs/348472
> 
> Thanks
> 	Thomas
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-science-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 


Reply to: