Editing Talk:Build from source

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 60: Line 60:


The following tools are required:  
The following tools are required:  
 
;C++, C, and Fortran compilers
{| class="wikitable"
: The Octave sources are primarily written in C++, but some portions are also written in C and Fortran. The Octave sources are intended to be portable. Recent versions of the GNU compiler collection (GCC) should work (http://gcc.gnu.org). If you use GCC, you should avoid mixing versions. For example, be sure that you are not using the obsolete g77 Fortran compiler with modern versions of gcc and g++.  
|'''C++, C, and Fortran compilers'''|| The Octave sources are primarily written in C++, but some portions are also written in C and Fortran. The Octave sources are intended to be portable. Recent versions of the GNU compiler collection (GCC) should work (http://gcc.gnu.org). If you use GCC, you should avoid mixing versions. For example, be sure that you are not using the obsolete g77 Fortran compiler with modern versions of gcc and g++.  
;GNU Make
|-
: Tool for building software (http://www.gnu.org/software/make). Octave's build system requires GNU Make. Other versions of Make will not work. Fortunately, GNU Make is highly portable and easy to install.  
|'''GNU Make'''||Tool for building software (http://www.gnu.org/software/make). Octave's build system requires GNU Make. Other versions of Make will not work. Fortunately, GNU Make is highly portable and easy to install.  
;AWK, sed, and other Unix utilities
|-
: Basic Unix system utilities are required for building Octave. All will be available with any modern Unix system and also on Windows with either Cygwin or MinGW and MSYS.  
|'''AWK, sed, and other Unix utilities'''||Basic Unix system utilities are required for building Octave. All will be available with any modern Unix system and also on Windows with either Cygwin or MinGW and MSYS.  
|}


Additionally, the following tools may be needed:  
Additionally, the following tools may be needed:  
 
;Bison
{| class="wikitable"
: Parser generator (http://www.gnu.org/software/bison). You will need Bison if you modify the oct-parse.yy source file or if you delete the files that are generated from it.  
|'''Bison'''||Parser generator (http://www.gnu.org/software/bison). You will need Bison if you modify the oct-parse.yy source file or if you delete the files that are generated from it.  
;Flex
|-
: Lexer analyzer (http://www.gnu.org/software/flex). You will need Flex if you modify the lex.ll source file or if you delete the files that are generated from it.  
|'''Flex'''||Lexer analyzer (http://www.gnu.org/software/flex). You will need Flex if you modify the lex.ll source file or if you delete the files that are generated from it.  
;Autoconf
|-
:Package for software configuration (http://www.gnu.org/software/autoconf). Autoconf is required if you modify Octave's configure.ac file or other files that it requires.  
|'''Autoconf'''||Package for software configuration (http://www.gnu.org/software/autoconf). Autoconf is required if you modify Octave's configure.ac file or other files that it requires.  
;Automake
|-
: Package for Makefile generation (http://www.gnu.org/software/automake). Automake is required if you modify Octave's Makefile.am files or other files that they depend on.  
|'''Automake'''||Package for Makefile generation (http://www.gnu.org/software/automake). Automake is required if you modify Octave's Makefile.am files or other files that they depend on.  
;Libtool
|-
: Package for building software libraries (http://www.gnu.org/software/libtool). Libtool is required by Automake.
|'''Libtool'''||Package for building software libraries (http://www.gnu.org/software/libtool). Libtool is required by Automake.
;Gnulib
|-
: <http://www.gnu.org/software/gnulib/>
|'''Gnulib'''||<http://www.gnu.org/software/gnulib/>
;GNU Make
|-
: <http://www.gnu.org/software/make/>
|'''gperf'''||<http://www.gnu.org/software/gperf/>
;gperf  
|-
: <http://www.gnu.org/software/gperf/>
|'''Gzip'''||<http://www.gnu.org/software/gzip/>
;Gzip
|-
: <http://www.gnu.org/software/gzip/>
|'''Mercurial'''||<http://mercurial.selenic.com/>
;Mercurial
|-
: <http://mercurial.selenic.com/>
|'''Perl'''||<http://www.cpan.org/>
;Perl
|-
: <http://www.cpan.org/>
|'''Rsync'''||<http://samba.anu.edu.au/rsync/>
;Rsync
|-
: <http://samba.anu.edu.au/rsync/>
|'''Tar'''||<http://www.gnu.org/software/tar/>
;Tar
|}
: <http://www.gnu.org/software/tar/>


===Run the bootstrap script===
===Run the bootstrap script===
Please note that all contributions to Octave may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Octave:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)