[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: HOWTO for building octave using mingw/msys
From: |
tinku99 |
Subject: |
Re: HOWTO for building octave using mingw/msys |
Date: |
Mon, 7 Dec 2009 16:32:00 -0800 (PST) |
Benjamin Lindner wrote:
>
> I started writing a small HOWTO on building octave for windows using
> mingw/msys and the toolchain available on the octave-forge svn repos.
>
> https://octave.svn.sourceforge.net/svnroot/octave/trunk/octave-forge/admin/Windows/mingw32/HOWTO.txt
>
> I'd like to improve it further, so feedback, comments, criticism,
> all is welcome.
>
Thanks Benjamin.
I modified your instructions a bit to just use the prebuilt dependencies,
and compile just octave itself.
If the msys shipped with octave had all the tools that are setup with
install-msys-1.0.11.cmd, this process could be simplified even more.
It seems to work, let me know if I am not anticipating any problems with
this... Thanks. I look forward to playing with octave.
1. run the octave installer -> c:\Octave\3.2.2_gcc-4.3.0
2. using tortoise svn:
c:\> svn co
https://octave.svn.sourceforge.net/svnroot/octave/trunk/octave-forge/admin/Windows/mingw32
octbuild
3. install msys
need bsdtar from here:
http://downloads.sourceforge.net/mingw/bsdtar-2.7.900a_r1628-20091110-mingw32-alpha-bin.zip
and
need wget from here: http://users.ugent.be/~bpuype/wget
c:\octbuild\msys> wget -N -i msys-url.txt
c:\octbuild> install-msys-1.0.11.cmd
to
c:\msys\1.0.11
the msys provided with the installer is missing atleast autoconf
4. specify the path we are using
modify c:\msys\1.0.11\etc\fstab
c:/Octave/3.2.2_gcc-4.3.0/mingw32
/mingw
modify gcc43_common.sh
PREFIX=/c/Octave/3.2.2_gcc-4.3.0
6. build
c:\> C:\msys\1.0.11\msys.bat --norxvt
/c/octbuild/octave> ./build-3.2.2-3.sh download unpack applypatch mkdirs
conf build install
have to specify each individually, because the target: "all" seems to be
missing
7. modify c:\msys\1.0.11\etc\profile
export PATH=/c/Octave/3.2.2_gcc-4.3.0\bin:$PATH
8. try octave in place
/c/octbuild/octave/.build_mingw32_3.2.2-3_gcc-4.3.0-dw2>./run-octave
9. try mkoctfile
put the newly built octave on top of the installed octave
cp -r /c/Octave/octave/3.2.2-3/* /c/Octave
/home/test> mkoctfile helloworld.cc
--
View this message in context:
http://old.nabble.com/HOWTO-for-building-octave-using-mingw-msys-tp26465144p26686848.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.
- Re: HOWTO for building octave using mingw/msys,
tinku99 <=