Hi,

I'd like to add FORTRAN to my GCC set. I've built a BLFS 7.5 SVN system, up to Xfce, but gcc-4.9.1 is still as per LFS book.

I'm thinking of building gfortran aside from the LFS gcc, in /usr/local or even /opt and keep separate build scripts. In other words, gfortran should behave like another standalone package, independent from system's C compilers.

So, besides tweaking BLFS gcc-4.9.1 instructions to build only gfortran with --enable-languages=fortran and placing the corresponding make --prefix=, DESTDIR=, etc., is there any other consideration that could prevent this scenario to work?

I wouldn't mind to use --disable-shared or even duplicate a whole C compiler if needed by gfortran internally (I suspect this is the case). Indeed, saving space would not a requirement, but preserving as much as possible the "well-working-system-compiler" should be a must.

Any comment or suggestion about this use case will be welcome.

Thanks in advance.
ALZ.



--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to