annotate README @ 5135:6836b2f08479

* tools/makeinst-script.sh.in: expand qt.conf to include all installed qt dirs
author John Donoghue
date Wed, 31 Jul 2019 15:34:57 -0400
parents ecad9fe83f88
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4379
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 HISTORY
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 =======
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 mxe-octave was forked from the MXE project(http://mxe.cc) in November
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 2012 when I was looking for a reliable way to cross-compile Octave
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
6 for Windows. At the time, the MXE developers did not seem interested
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 in modifying MXE to build shared libraries (. Since then, MXE has been modified
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 As stated here:
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
10 http://lists.defectivebydesign.org/archive/html/mingw-cross-env-list/2013-10/msg00006.html
4380
ecad9fe83f88 README: Fix typo.
John W. Eaton <jwe@octave.org>
parents: 4379
diff changeset
11 I never intended to permanently fork MXE, I was only looking for a way
4379
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12 to build Octave and all its dependencies, primarily for Windows
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13 systems.
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
14
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
15 Later, I needed to build Octave for old RHEL and SuSE systems that did
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16 not have sufficiently recent versions of the build tools or other
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17 dependencies. Adapting MXE to handle native builds seemed like a
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 reasonable solution at the time, but there always seem to be issues
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19 with replacing many (but not all) system libraries that are needed to
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 support Octave. At what point do you stop? You probably don't want
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 to build your own OpenGL, X11, or C libraries, and mxe-octave does not
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 attempt to build these.
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
24 FUTURE
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25 ======
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
26
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
27 Now that MXE supports static and shared library builds for 32- and
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
28 64-bit Windows systems, it might be good to consider using MXE
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
29 directly and abandon the mxe-octave fork, at least for Windows
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
30 builds. Instead of mxe-octave duplicating all that MXE does, we could
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
31 use MXE to build the cross tools and cross compile the libraries.
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
32 Everything else could be built using those tools. We might still end
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
33 up with some duplication, but we would
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
34
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
35 For native builds, I'm not sure what the best option is. Many things
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
36 could be simplified in mxe-octave if cross compiling and supporting
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
37 Windows were not required, but there would still be a lot of overlap
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
38 with MXE. Another option is to use docker, but older kernel versions
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
39 may not support it properly. For example, for RHEL 6, docker is
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
40 apparently only supported using the EPEL packages, and if people were
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
41 able to use EPEL, then they could probably get dependencies that are
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
42 new enough to build Octave. I my experience, people using these old
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
43 systems are not willing to use packages from EPEL or similar projects.
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
44
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
45 John W. Eaton
4380
ecad9fe83f88 README: Fix typo.
John W. Eaton <jwe@octave.org>
parents: 4379
diff changeset
46 jwe@octave.org
4379
886056e979a4 README: New file.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
47 2017-04-11