2000-10-11 05:21:18 -05:00
|
|
|
Various unresolved issues with configure:
|
2000-10-20 09:36:19 -05:00
|
|
|
----------------------------------------
|
2000-10-11 05:21:18 -05:00
|
|
|
|
|
|
|
* --with-gcc-home may cause a warning message to be displayed even if the
|
2003-06-12 04:15:33 -05:00
|
|
|
correct version of gcc is found. This should be harmless.
|
2000-10-11 05:21:18 -05:00
|
|
|
|
|
|
|
* It is at present time not possible to use --with-local-solenv to point
|
2003-06-12 04:15:33 -05:00
|
|
|
to a solenv residing at a non-standard location.
|
2000-10-11 05:21:18 -05:00
|
|
|
|
2003-06-12 04:15:33 -05:00
|
|
|
* The configure script also creates a bootstrap script in the top-level
|
|
|
|
directory to support the creation of the build executable tools needed to
|
|
|
|
bootstrap the build process. These tools normally reside in the
|
|
|
|
solenv/$OUTPATH/bin directory for the supported platforms. It is hoped that
|
|
|
|
these tools will be removed from the solenv tree at some stage.
|
2000-10-20 09:36:19 -05:00
|
|
|
|
2000-10-11 05:21:18 -05:00
|
|
|
Running configure on Windows NT:
|
2000-10-20 09:36:19 -05:00
|
|
|
-------------------------------
|
2000-10-11 05:21:18 -05:00
|
|
|
|
2000-10-11 08:49:54 -05:00
|
|
|
* configure must be run from the Cygnus bash shell. On the bash command line
|
2003-06-12 04:15:33 -05:00
|
|
|
type "bash configure <options>" to run the script. The generated winenv.bat
|
|
|
|
file must then be executed from the 4NT shell in which you will be building
|
|
|
|
OpenOffice.org
|
2000-10-11 08:49:54 -05:00
|
|
|
|
2003-06-12 04:15:33 -05:00
|
|
|
* The path to the Microsoft C/C++ compiler home directory must be given as an
|
|
|
|
MS-DOS format path on the command line with the configure option
|
|
|
|
--with-cl-home. MS-DOS format names are <8 characters in length and don't
|
|
|
|
contain spaces. To get the MS-DOS format of a Windows pathname select the
|
|
|
|
directory in a window and right-click and choose properties.
|
2000-10-11 08:49:54 -05:00
|
|
|
|
2003-06-12 04:15:33 -05:00
|
|
|
* configure automatically copies the top level makefile.rc from the
|
|
|
|
config_office directory to the top level directory when run. If you are not
|
|
|
|
running configure and are using a pre-generated winenv.bat to set up the
|
|
|
|
build environment, then you must manually copy the makefile.rc file in
|
|
|
|
config_office to the top level directory.
|
2000-10-12 06:29:50 -05:00
|
|
|
|
|
|
|
* It is recommended that you close the Cygnus bash shell before you start the
|
2003-06-12 04:15:33 -05:00
|
|
|
build as it might cause problems later on.
|
|
|
|
|
|
|
|
|
|
|
|
Some quasi standards for configure
|
|
|
|
----------------------------------
|
|
|
|
|
|
|
|
* configure will use four type of parameters:
|
|
|
|
|
|
|
|
--with-xyz-home to locate an executable tool and related libraries, eg jdk.
|
|
|
|
|
|
|
|
--with-xyz to locate a library of that type
|
|
|
|
|
|
|
|
--without-xyz to disable a library, not always available.
|
|
|
|
|
|
|
|
--enable-xyz to set a compile feature such as debugging.
|
|
|
|
|
|
|
|
* Try and make tests as generic as possible, specific is good for early testing
|
|
|
|
of a feature but don't keep the pattern, make it generic quickly.
|
|
|
|
|
|
|
|
* configure should terminate with an error if it does not locate something that
|
|
|
|
is needed for a build to succeed, note that this conflicts with previous
|
|
|
|
standards which had a manual entry override. This is less than successful
|
|
|
|
configure either works or it fails, no data entry allowed.
|
|
|
|
|
|
|
|
Premises for configure
|
|
|
|
----------------------
|
2000-10-20 09:36:19 -05:00
|
|
|
|
2003-06-12 04:15:33 -05:00
|
|
|
* This is not a true autoconf project. The code base is huge and the ability
|
|
|
|
to test for everything is impossible. We are currently supporting only a
|
|
|
|
subset of compilers therefore do not need a lot of testing on compiler
|
|
|
|
capabilities.
|