Re: A few quick questions about gfortran under cygwin



On Wed, 01 Jun 2005 01:57:04 GMT, Tim Prince <timothyprince@xxxxxxxxxxxxx>
wrote in <QB8ne.852$IE7.532@xxxxxxxxxxxxxxxxxxxxxxxxxx>:
> Dr Ivan D. Reid wrote:

>> b) I've seen mention of compiling it oneself, but no instructions on how
>> to do it. Are they available anywhere?

> http://gcc.gnu.org/wiki/GFortran

> Grab the source version of your choice, follow gcc build instructions at
> gcc.gnu.org. Minimum build is C and f95:

I still haven't found any explicit instructions; they seem to be
well hidden. For a while I was trying to build from an inappropriate
directory.

> set appropriate compile flags, e.g.
> export CFLAGS='-O2 -march=pentium-m -pipe -g'
> export BOOT_CFLAGS='-O2 -march=pentium-m -pipe'

> default install prefix is /usr/local/

Install bison & flex.
Install patch:
http://gcc.gnu.org/ml/gcc-patches/2005-05/msg00009.html

$ find . -name config.cache -exec rm {} \;

$ mkdir obj
$ cd obj

> refer to the configure flags posted on gcc-testresults,typically
> ../configure --enable-threads=posix
> --enable-sjlj-exceptions --disable-libmudflap --enable-languages=f95

$ ../configure --prefix=/usr/local/gcc-4_1 --enable-threads=posix
--disable-libgcj --enable-sjlj-exceptions --with-system-zlib --enable-nls
--disable-libmudflap --enable-version-specific-runtime-libs
--without-included-gettext --disable-shared
--enable-languages=c,c++,f95,java

> make bootstrap-lean
> make -k check

This failed due to no autogen

> make install

$ du /usr/local/gcc-4_1/
....
118463 /usr/local/gcc-4_1/

$ ls /usr/local/gcc-4_1/
bin include info lib libexec man share

$ ls /usr/local/gcc-4_1/bin/
c++.exe gccbug gjnih.exe i686-pc-cygwin-gcc.exe
cpp.exe gcj.exe grepjar.exe i686-pc-cygwin-gcj.exe
fastjar.exe gcjh.exe i686-pc-cygwin-c++.exe i686-pc-cygwin-gcjh.exe
g++.exe gcov.exe i686-pc-cygwin-g++.exe jcf-dump.exe
gcc.exe gfortran.exe i686-pc-cygwin-gcc-4.1.0 jv-scan.exe

I now have the tree in a 32 MB .tgz file of the tree if anyone
wants to try it; mail me. I just need to find public-facing storage with
enough space.

--
Ivan Reid, Electronic & Computer Engineering, ___ CMS Collaboration,
Brunel University. Ivan.Reid@xxxxxxxxxxxx Room 40-1-B12, CERN
KotPT -- "for stupidity above and beyond the call of duty".
.



Relevant Pages

  • RE: Error: Cant load /cygdrive/c/Oracle/Ora81/bin/Oracle for module DBD::Oracle...
    ... The main thing to remember here is DON'T unpack distributions into the Perl ... to make a 'src' directory for compiling in my home directory. ... You've now messed up your Perl library directories somewhat, ... You should get away with this so long as you haven't tried to install any ...
    (perl.dbi.users)
  • XP - tried to fix lost remote access -
    ... McAfee software. ... He insisted that varying in the least bit from his instructions would mean ... install of the Personal Firewall Plus application. ... The hard drive now has TWO Windows operating system installs, ...
    (microsoft.public.windowsxp.general)
  • Re: XP - tried to fix lost remote access -
    ... > technician adamantly instructed me to follow a series of instructions from ... > backup and followed McAfee's instruction to "test" the backup file to be ... > certain it worked before proceeding, ... > install of the Personal Firewall Plus application. ...
    (microsoft.public.windowsxp.general)
  • Re: I cant close the screen this page cannot be displayed
    ... instructions and post back to here to let you know how I make out. ... install and immediately update these three programs before ... > How to download and install HiJackThis: ... >>I just installed SP2 on WIndows XP Home. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: cant stop xp pro reboot loop
    ... install after i copied the files i'm trying to retrieve. ... if i use the 64 bit so i can follow the instructions you were nice enough ... it would probably be worthwhile for you to undertake a Repair ... The repair process will continue just about the same way you would be ...
    (microsoft.public.windowsxp.help_and_support)