octave-maintainers
[Top][All Lists]
Advanced

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

Successful compilation with MinGW


From: Timothée Lecomte
Subject: Successful compilation with MinGW
Date: Sun, 08 Jan 2006 17:38:30 +0100
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

Dear Octave enthusiasts,

I have spent some time to try to compile octave-2.9.4 under Windows, with MinGW/Msys. After some time acclimating with it, a lot of megs (1.61 GB to be precise), and a few hours of compiling time, I finally succeed ! I get working octave.exe binary and corresponding dlls.

The hard part for me was to compile a working libglob.a to have glob and fnmatch functions. (By the way, I saw that it was previously in octave distribution, and that it was removed some months ago. Is there a particular reason ? Maybe not to have to maintain them ?) I built my own package with those functions taken from glibc. I had not to modify any octave file.

I have not compiled it with its whole set of optional (but probably very useful) dependencies such as blas, lapack, colamd, etc.

Attached is the output of the configure script to give you an idea of the linked dependencies.

I would be pleased to have your idea on it. In particular, I read that David Bateman was already working on it (I mean octave with MinGW). So is my success useful ? Is it worth to make my files public ? Should I recompile it with some additional libraries ?

Thanks for your great work on octave.

Yours sincerely,

Timothée Lecomte
Octave is now configured for i686-pc-mingw32

  Source directory:     .
  Installation prefix:  /c/octave/octave-2.9.4/build
  C compiler:           gcc  -mieee-fp  -Wall -W -Wshadow -DWINDOWS32
  C++ compiler:         g++  -mieee-fp  -Wall -W -Wshadow -g -O2
  Fortran compiler:     g77 -O -mieee-fp
  Fortran libraries:     -Lc:/MinGW/bin/../lib/gcc/mingw32/3.4.2 
-Lc:/MinGW/bin/../lib/gcc -L/mingw/lib/gcc/mingw32/3.4.2 
-Lc:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../mingw32/lib 
-L/mingw/lib/gcc/mingw32/3.4.2/../../../../mingw32/lib -L/mingw/lib 
-Lc:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../.. 
-L/mingw/lib/gcc/mingw32/3.4.2/../../.. -lz -lm -lfrtbegin -lg2c -lmingw32 
-lmoldname -lmingwex -lmsvcrt -luser32 -lkernel32 -ladvapi32 -lshell32
  BLAS libraries:      
  FFTW libraries:      
  GLPK libraries:      
  UMFPACK libraries:   
  COLAMD libraries:    
  CCOLAMD libraries:   
  CHOLMOD libraries:   
  HDF5 libraries:      
  MPI libraries:       
  LIBS:                 -lreadline -lz -lm  -lwsock32
  Default pager:        less
  gnuplot:              pgnuplot

  Do internal array bounds checking:  false
  Build static libraries:             false
  Build shared libraries:             true
  Dynamic Linking:                    true (LoadLibrary)
  Include support for GNU readline:   true
  64-bit array dims and indexing:     false

configure:28566: WARNING: I couldn't find -ltermcap, -lterminfo, -lncurses, 
-lcurses, or -ltermlib!
configure:28572: WARNING: I didn't find gperf, but it's only a problem if you 
need to reconstruct oct-gperf.h
configure:28578: WARNING: I didn't find flex, but it's only a problem if you 
need to reconstruct lex.cc
configure:28584: WARNING: I didn't find bison, but it's only a problem if you 
need to reconstruct parse.cc
configure:28596: WARNING: I didn't find runtest -- install DejaGNU if you want 
to run `make check'
configure:28608: WARNING: COLAMD not found. This will result in some lack of 
functionality for sparse matrices.
configure:28614: WARNING: CCOLAMD not found. This will result in some lack of 
functionality for sparse matrices.
configure:28626: WARNING: HDF5 library not found.  Octave will not be able to 
save or load HDF5 data files.
configure:28648: WARNING: I didn't find gnuplot.  It isn't necessary to have 
gnuplot
configure:28650: WARNING: installed, but you won't be able to use any of 
Octave's
configure:28652: WARNING: plotting commands without it.
configure:28654: WARNING:
configure:28656: WARNING: If gnuplot is installed but it isn't in your path, 
you can
configure:28658: WARNING: tell Octave where to find it by typing the command
configure:28660: WARNING:
configure:28662: WARNING: gnuplot_binary = "/full/path/to/gnuplot/binary"
configure:28664: WARNING:
configure:28666: WARNING: at the Octave prompt.
configure:28672: result:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]