Talk:Build from source: Difference between revisions

Jump to navigation Jump to search
Line 123: Line 123:
It is very recommended that you build Octave in a separate directory tree from the sources.   
It is very recommended that you build Octave in a separate directory tree from the sources.   
For convenience we recommend a subdirectory to the main octave directory.
For convenience we recommend a subdirectory to the main octave directory.
For example, after you finished running the bootstrap script (takes a few secondds), run the
For example, after you finished running the bootstrap script (takes a few seconds), run the
following commands to create a build tree, configure, and build Octave:
following commands to create a build tree, configure, and build Octave:


Line 130: Line 130:
  $ ../configure
  $ ../configure


Running configure will take about half a minute. After it's finished, and if you are satisfied with
configure takes many command line arguments that allow some customization of the resulting makefile, and they are detailed in the [http://www.gnu.org/software/octave/doc/interpreter/Running-Configure-and-Make.html manual].
the result, just run make
 
Running configure will take about half a minute. After it's finished, and if you are satisfied with the result, just run make


  $ make
  $ make


Building octave will take something on the scale of hours,  
Building octave will take something on the scale of hours,  
the exact ammount depending on if the programmers or cpu engineers are ahead in the eternal race of performance versus cruft.  
the exact amount depending on if the programmers or cpu engineers are ahead in the eternal race of performance versus cruft.  
The best thing to do is to leave it over lunch, or possibly overnight if it's late. You probably should sleep more anyway Jonathan.
The best thing to do is to leave it over lunch, or possibly overnight if it's late. You probably should sleep more anyway Jonathan.


19

edits

Navigation menu