octave-maintainers
[Top][All Lists]
Advanced

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

Re: Building for Microsoft Windows using MSYS


From: Tatsuro MATSUOKA
Subject: Re: Building for Microsoft Windows using MSYS
Date: Thu, 11 Feb 2010 10:10:05 +0900 (JST)

Please execute ./autogen,sh before configure.  It is required to update 
configure script and the
related files to reflect the modification by the patches. 

Good luck!

Regards

Tatsuro
--- Tatsuro MATSUOKA wrote:

> BTW, in practical sense, it is better to use build libraries in octave-3.2.3 
> binary package.
> 
> 1. download and extract octave source
> 2. download patch
> 
>
http://octave.svn.sourceforge.net/viewvc/octave/trunk/octave-forge/admin/Windows/mingw32/octave/octave-3.2.3-4.patch?view=log
> 3. modify patch. version number  '3.2.3' should be replaced by '3.2.4'
> 4. apply patch with patch -p 1 < (patch file name) at the base directory of 
> source trees
> 5. correct related source files manually if the some part of the patch fail



> 6. configure 
> #example
> cd (source directry)
> # add PATH to use dll libraries, gnuplot, and gcc
> export
> PATH=$PATH:/c/Programs/Octave/3.2.3_gcc4.4.0/bin:/c/Programs/Octave/3.2.3_gcc4.4.0/mingw32/bin
> 
> #FLAG setting
> export CC='mingw32-gcc-4.4.0-dw2 -shared-libgcc'
> export CXX='mingw32-g++-4.4.0-dw2 -shared-libgcc' 
> export F77='mingw32-gfortran-4.4.0-dw2 gfortran -shared-libgcc'
> #if you have installed gcc-4.4.0 you can use  
> # export CC='gcc -shared-libgcc'
> # instead the above
> export CXXFLAGS='-D_GLIBCXX_DLL'
> export LDFLAGS='-L/c/Programs/Octave/3.2.3_gcc4.4.0/lib'
> export CPPFLAGS='-I/c/Programs/Octave/3.2.3_gcc4.4.0/include'
> export CXXLIBS='-lstdc++_s'
> 
> ./configure --prefix=(octave install directory path)
> 
> 5. make 
> 6. make check
> 7. make install-strip
> 
> Regards
> 
> Tatsuro
> 
> --------------------------------------
> VANCOUVER 2010 Olympic News [Yahoo! Sports/sportsnavi]
> http://pr.mail.yahoo.co.jp/olympic/
> 


--------------------------------------
VANCOUVER 2010 Olympic News [Yahoo! Sports/sportsnavi]
http://pr.mail.yahoo.co.jp/olympic/


reply via email to

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