This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building gcc with broken gfortran


On Wed, Jan 9, 2019 at 1:30 PM Steve Kargl
<sgk@troutmask.apl.washington.edu> wrote:
>
> On Wed, Jan 09, 2019 at 01:20:35PM -0500, NightStrike wrote:
>
> >>  How are people currently building gfortran successfully?
> >
>
> % cd $HOME/gcc/gccx
> % svn update
> % cd ../objx
> % rm -rf *
> % ../confx
> % gmake -j6 bootstrap
> % gmake -j6 check-fortran
> % gmake install
> % cat ../confx
>
> #! /bin/sh
>
> CC=/usr/local/bin/gcc8
> export CC
> CXX=/usr/local/bin/g++8
> export CXX
> LD_LIBRARY_PATH=/usr/local/lib/gcc8
> export LD_LIBRARY_PATH
> LD_RUN_PATH=/usr/local/lib/gcc8
> export LD_RUN_PATH
>
> ../gccx/configure --prefix=$HOME/work/x --enable-languages=c,fortran \
>   --enable-bootstrap --disable-nls
>
> HTH
>
> --
> Steve

Does that work on RHEL or Cent 6?  I don't see much different in what
I'm doing, other than wanting the faster clock_gettime.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]