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

gfortran FFLAGS without paths?



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


Reply to: