Mercurial > hg > octave-nkf
annotate etc/README.Cygwin @ 14163:55d41048ea68 stable
update FCN_FILES list in test/Makefile.am
* test/Makefile.am (FCN_FILES): Rename test_contin.m to
test_line_contine.m in the list.
Include test_index.m and test_logical_index.m in the list.
Remove test_index-wfi-f.m, test_index-wfi-t.m, test_logical-wfi-f.m,
test_logical-wfi-t.m from the list.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 06 Jan 2012 13:46:56 -0500 |
parents | 2f05228cb959 |
children | 446c46af4b42 |
rev | line source |
---|---|
8105 | 1 Starting with version 3.0.1, Octave is once again part of the normal |
2 net distribution of Cygwin, available from http://www.cygwin.com. | |
3 | |
11440
bfbe441f3706
Update build instructions for Cygwin before 3.4 release.
Marco Atzeri <marco_atzeri@yahoo.it>
parents:
9641
diff
changeset
|
4 It is possible to build Octave from source on Windows systems with Cygwin, |
bfbe441f3706
Update build instructions for Cygwin before 3.4 release.
Marco Atzeri <marco_atzeri@yahoo.it>
parents:
9641
diff
changeset
|
5 but with the old gcc-3.4.4-3 compiler there are some performance |
8105 | 6 problems related to the way C++ exception handling is implemented. |
11440
bfbe441f3706
Update build instructions for Cygwin before 3.4 release.
Marco Atzeri <marco_atzeri@yahoo.it>
parents:
9641
diff
changeset
|
7 This is a known problem with a long history and it is STRONGLY |
bfbe441f3706
Update build instructions for Cygwin before 3.4 release.
Marco Atzeri <marco_atzeri@yahoo.it>
parents:
9641
diff
changeset
|
8 encouraged to use gcc-4.3.2-1 or later. |
bfbe441f3706
Update build instructions for Cygwin before 3.4 release.
Marco Atzeri <marco_atzeri@yahoo.it>
parents:
9641
diff
changeset
|
9 |
14146
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
10 Current binary versions are built with gcc-4.5.3-3. |
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
11 |
11440
bfbe441f3706
Update build instructions for Cygwin before 3.4 release.
Marco Atzeri <marco_atzeri@yahoo.it>
parents:
9641
diff
changeset
|
12 |
14146
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
13 ------- SUGGESTED CONFIGURATION --------------------------- |
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
14 |
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
15 The latest development Octave development sources (octave-3.5.91+) |
11440
bfbe441f3706
Update build instructions for Cygwin before 3.4 release.
Marco Atzeri <marco_atzeri@yahoo.it>
parents:
9641
diff
changeset
|
16 are built with: |
bfbe441f3706
Update build instructions for Cygwin before 3.4 release.
Marco Atzeri <marco_atzeri@yahoo.it>
parents:
9641
diff
changeset
|
17 |
bfbe441f3706
Update build instructions for Cygwin before 3.4 release.
Marco Atzeri <marco_atzeri@yahoo.it>
parents:
9641
diff
changeset
|
18 configure --enable-shared \ |
bfbe441f3706
Update build instructions for Cygwin before 3.4 release.
Marco Atzeri <marco_atzeri@yahoo.it>
parents:
9641
diff
changeset
|
19 --enable-float-truncate \ |
bfbe441f3706
Update build instructions for Cygwin before 3.4 release.
Marco Atzeri <marco_atzeri@yahoo.it>
parents:
9641
diff
changeset
|
20 CC=gcc-4 F77=gfortran-4 CXX=g++-4 CPP=cpp-4 |
bfbe441f3706
Update build instructions for Cygwin before 3.4 release.
Marco Atzeri <marco_atzeri@yahoo.it>
parents:
9641
diff
changeset
|
21 lt_cv_deplibs_check_method=pass_all \ |
14146
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
22 LDFLAGS=-Wl,-no-undefined |
8105 | 23 |
11440
bfbe441f3706
Update build instructions for Cygwin before 3.4 release.
Marco Atzeri <marco_atzeri@yahoo.it>
parents:
9641
diff
changeset
|
24 "--enable-float-truncate" is needed for the following bug: |
bfbe441f3706
Update build instructions for Cygwin before 3.4 release.
Marco Atzeri <marco_atzeri@yahoo.it>
parents:
9641
diff
changeset
|
25 http://thread.gmane.org/gmane.comp.gnu.octave.bugs/12361/focus=12404 |
bfbe441f3706
Update build instructions for Cygwin before 3.4 release.
Marco Atzeri <marco_atzeri@yahoo.it>
parents:
9641
diff
changeset
|
26 Without it, one of the quadgk test will fail as |
bfbe441f3706
Update build instructions for Cygwin before 3.4 release.
Marco Atzeri <marco_atzeri@yahoo.it>
parents:
9641
diff
changeset
|
27 "a=a" could be false due to truncation problems with |
bfbe441f3706
Update build instructions for Cygwin before 3.4 release.
Marco Atzeri <marco_atzeri@yahoo.it>
parents:
9641
diff
changeset
|
28 complex numbers. |
bfbe441f3706
Update build instructions for Cygwin before 3.4 release.
Marco Atzeri <marco_atzeri@yahoo.it>
parents:
9641
diff
changeset
|
29 |
bfbe441f3706
Update build instructions for Cygwin before 3.4 release.
Marco Atzeri <marco_atzeri@yahoo.it>
parents:
9641
diff
changeset
|
30 "lt_cv_deplibs_check_method=pass_all" is needed to bypass |
bfbe441f3706
Update build instructions for Cygwin before 3.4 release.
Marco Atzeri <marco_atzeri@yahoo.it>
parents:
9641
diff
changeset
|
31 incorrect libtool detection of system capabilities and |
bfbe441f3706
Update build instructions for Cygwin before 3.4 release.
Marco Atzeri <marco_atzeri@yahoo.it>
parents:
9641
diff
changeset
|
32 to allow shared libs building. |
bfbe441f3706
Update build instructions for Cygwin before 3.4 release.
Marco Atzeri <marco_atzeri@yahoo.it>
parents:
9641
diff
changeset
|
33 |
14146
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
34 "LDFLAGS=-Wl,-no-undefined" is better than previous |
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
35 "LDFLAGS=-no-undefined" as gcc-4 is now complaining about |
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
36 unknown command and the "undefined" is for the linker. |
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
37 |
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
38 The additional patch used for 3.4.3-3 package can also be |
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
39 needed for 3.6.x (see below). |
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
40 |
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
41 ------- SUGGESTION FOR FORK ISSUE -------------------------- |
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
42 |
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
43 The build process can fails in building images for documentation |
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
44 due to fork issue of the octave dll just built. In such case |
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
45 I suggest to rebase the built dll's with: |
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
46 |
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
47 $ find build_tree -name "*.dll" > rebase_list |
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
48 |
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
49 and after closing all cygwin process, from a dash shell |
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
50 |
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
51 $ rebaseall -s 'dll|so|oct' -T /full_path/rebase_list |
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
52 |
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
53 After rebasing the "make" should be able to complete the |
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
54 creation of the images and the documentation. |
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
55 |
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
56 ------------------------------------------------------ |
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
57 |
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
58 Octave-3.4.3-3 package was built using: |
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
59 |
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
60 configure --libexecdir=/usr/lib \ |
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
61 --enable-shared \ |
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
62 --enable-float-truncate \ |
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
63 F77=gfortran-4 \ |
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
64 lt_cv_deplibs_check_method=pass_all \ |
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
65 LDFLAGS=-no-undefined |
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
66 |
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
67 plus and additional patch to solve a specific cygwin |
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
68 fltk print issue, see: |
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
69 https://savannah.gnu.org/bugs/?31641 |
11582
21dec063e89f
More updates to top-level README documentation files ahead of 3.4 release.
Rik <octave@nomad.inbox5.com>
parents:
11440
diff
changeset
|
70 |
11440
bfbe441f3706
Update build instructions for Cygwin before 3.4 release.
Marco Atzeri <marco_atzeri@yahoo.it>
parents:
9641
diff
changeset
|
71 Octave-3.2.4 was built using: |
bfbe441f3706
Update build instructions for Cygwin before 3.4 release.
Marco Atzeri <marco_atzeri@yahoo.it>
parents:
9641
diff
changeset
|
72 |
bfbe441f3706
Update build instructions for Cygwin before 3.4 release.
Marco Atzeri <marco_atzeri@yahoo.it>
parents:
9641
diff
changeset
|
73 configure --enable-shared \ |
bfbe441f3706
Update build instructions for Cygwin before 3.4 release.
Marco Atzeri <marco_atzeri@yahoo.it>
parents:
9641
diff
changeset
|
74 --without-fltk \ |
bfbe441f3706
Update build instructions for Cygwin before 3.4 release.
Marco Atzeri <marco_atzeri@yahoo.it>
parents:
9641
diff
changeset
|
75 --without-framework-opengl \ |
bfbe441f3706
Update build instructions for Cygwin before 3.4 release.
Marco Atzeri <marco_atzeri@yahoo.it>
parents:
9641
diff
changeset
|
76 CC=gcc-4 F77=gfortran-4 CXX=g++-4 CPP=cpp-4 |
bfbe441f3706
Update build instructions for Cygwin before 3.4 release.
Marco Atzeri <marco_atzeri@yahoo.it>
parents:
9641
diff
changeset
|
77 CFLAGS="-Dtimezone=_timezone" |
bfbe441f3706
Update build instructions for Cygwin before 3.4 release.
Marco Atzeri <marco_atzeri@yahoo.it>
parents:
9641
diff
changeset
|
78 |
14146
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
79 ------------------------------------------------------ |
9614 | 80 Current Cygwin package maintainer for Octave: |
8105 | 81 |
9614 | 82 Marco Atzeri |
83 http://matzeri.altervista.org | |
6136 | 84 |
8105 | 85 Marco Atzeri |
14146
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
86 marco.atzeri@gmail.com |
8105 | 87 Italy |
88 | |
14146
2f05228cb959
README.Cygwin: Update for impending 3.6 release
Marco Atzeri <marco.atzeri@gmail.com>
parents:
12733
diff
changeset
|
89 Last updated: Tue Jan 3 14:40:58 WEST 2012 |