# HG changeset patch # User Marco Atzeri # Date 1325690559 18000 # Node ID 2f05228cb959de216c659fba554a235349ec474c # Parent 5a25a51146a141865d3e55272fa5be70ab5f662f README.Cygwin: Update for impending 3.6 release diff -r 5a25a51146a1 -r 2f05228cb959 etc/README.Cygwin --- a/etc/README.Cygwin Wed Jan 04 10:10:08 2012 -0500 +++ b/etc/README.Cygwin Wed Jan 04 10:22:39 2012 -0500 @@ -7,17 +7,19 @@ This is a known problem with a long history and it is STRONGLY encouraged to use gcc-4.3.2-1 or later. -Current binary versions are built with gcc-4.3.4-3 while -binary version 3.0.2-2 was built with gcc-4.3.2-1. +Current binary versions are built with gcc-4.5.3-3. + -The latest development Octave development sources (octave-3.3.54+) +------- SUGGESTED CONFIGURATION --------------------------- + +The latest development Octave development sources (octave-3.5.91+) are built with: configure --enable-shared \ --enable-float-truncate \ CC=gcc-4 F77=gfortran-4 CXX=g++-4 CPP=cpp-4 lt_cv_deplibs_check_method=pass_all \ - LDFLAGS=-no-undefined + LDFLAGS=-Wl,-no-undefined "--enable-float-truncate" is needed for the following bug: http://thread.gmane.org/gmane.comp.gnu.octave.bugs/12361/focus=12404 @@ -29,6 +31,42 @@ incorrect libtool detection of system capabilities and to allow shared libs building. +"LDFLAGS=-Wl,-no-undefined" is better than previous +"LDFLAGS=-no-undefined" as gcc-4 is now complaining about +unknown command and the "undefined" is for the linker. + +The additional patch used for 3.4.3-3 package can also be +needed for 3.6.x (see below). + +------- SUGGESTION FOR FORK ISSUE -------------------------- + +The build process can fails in building images for documentation +due to fork issue of the octave dll just built. In such case +I suggest to rebase the built dll's with: + +$ find build_tree -name "*.dll" > rebase_list + +and after closing all cygwin process, from a dash shell + +$ rebaseall -s 'dll|so|oct' -T /full_path/rebase_list + +After rebasing the "make" should be able to complete the +creation of the images and the documentation. + +------------------------------------------------------ + +Octave-3.4.3-3 package was built using: + +configure --libexecdir=/usr/lib \ + --enable-shared \ + --enable-float-truncate \ + F77=gfortran-4 \ + lt_cv_deplibs_check_method=pass_all \ + LDFLAGS=-no-undefined + +plus and additional patch to solve a specific cygwin +fltk print issue, see: +https://savannah.gnu.org/bugs/?31641 Octave-3.2.4 was built using: @@ -38,14 +76,14 @@ CC=gcc-4 F77=gfortran-4 CXX=g++-4 CPP=cpp-4 CFLAGS="-Dtimezone=_timezone" - +------------------------------------------------------ Current Cygwin package maintainer for Octave: Marco Atzeri http://matzeri.altervista.org Marco Atzeri -marco_atzeri@yahoo.it +marco.atzeri@gmail.com Italy -Last updated: Mon Jan 3 18:53:41 WEST 2011 +Last updated: Tue Jan 3 14:40:58 WEST 2012