This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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: Trying to find source of gfortran problems in Ubuntu


----- Original Message ----
> > What configure options did you use in your local build?
> >  
> #! /bin/bash
> 
> # Make a fresh bootstrap of gcc
> 
> rm -rf /home/jerry/gcc/obj44/*
> cd /home/jerry/gcc/obj44
> ../gcc44/configure --prefix=/home/jerry/gcc/usr --enable-languages=c,fortran 
> --disable-libmudflap --enable-libgomp --with-mpfr-lib=/home/jerry/gcc/usr/lib 
> --with-mpfr-include=/home/jerry/gcc/usr/include 1>myconfig.log 2>myconfig.log
> make -j4 1>mybuild.log 2>mybuild.err && make install 1>install.log 2>install.log
> echo "Build and install of 4.4 trunk complete."
> 
> I have:
> 
> $ echo $LD_LIBRARY_PATH
> /usr/local/dislin:/home/jerry/gcc/usr/lib64:/home/jerry/gcc/usr/lib

FWIW, I finally found the build options used to build the Ubuntu gfortran-4.2 package:

 
configure flags: -v --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext 
--enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu
--enable-libstdcxx-debug --enable-mpfr --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu 
--target=x86_64-linux-gnu --enable-languages=c,c++,fortran,objc,obj-c++,treelang

BOOT_CFLAGS=-g -O2 -fno-stack-protector

These are found in the file /usr/share/doc/gcc-4.2-base/test-summary.gz in Ubuntu's documentation.



      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ


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