forked from Imagelibrary/rtems
2002-11-07 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove make/Templates/Makefile. * README.configure: Minor massaging.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2002-11-07 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
|
* configure.ac: Remove make/Templates/Makefile.
|
||||||
|
* README.configure: Minor massaging.
|
||||||
|
|
||||||
2002-11-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
2002-11-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
Further preparations for autoconf > 2.52:
|
Further preparations for autoconf > 2.52:
|
||||||
|
|||||||
@@ -10,6 +10,9 @@ configured and built either standalone or together with the compiler
|
|||||||
tools in the Cygnus one-tree structure. Using autoconf also means
|
tools in the Cygnus one-tree structure. Using autoconf also means
|
||||||
that RTEMS now can be built in a separate build directory.
|
that RTEMS now can be built in a separate build directory.
|
||||||
|
|
||||||
|
To re-generate auto*tool generated files (configure, Makefile.in etc),
|
||||||
|
autoconf-2.52 and automake-1.6.* are required.
|
||||||
|
|
||||||
2. Installation
|
2. Installation
|
||||||
===============
|
===============
|
||||||
|
|
||||||
@@ -26,8 +29,6 @@ RTEMS-specific option are supported:
|
|||||||
--enable-cxx
|
--enable-cxx
|
||||||
--enable-bare-cpu-model=<MODEL>
|
--enable-bare-cpu-model=<MODEL>
|
||||||
--enable-bare-cpu-cflags=<FLAGS>
|
--enable-bare-cpu-cflags=<FLAGS>
|
||||||
--enable-gcc28 (also use enable-libcdir when disabled)
|
|
||||||
--enable-libcdir=<DIRECTORY> (do not use if gcc 2.8 is enabled)
|
|
||||||
--enable-multiprocessing
|
--enable-multiprocessing
|
||||||
--enable-rtemsbsp="bsp1 bsp2 ..."
|
--enable-rtemsbsp="bsp1 bsp2 ..."
|
||||||
--enable-tests
|
--enable-tests
|
||||||
@@ -38,7 +39,6 @@ In addition, the following standard autoconf options are frequently
|
|||||||
used when configuring RTEMS installations:
|
used when configuring RTEMS installations:
|
||||||
|
|
||||||
--prefix=INSTALL_DIRECTORY
|
--prefix=INSTALL_DIRECTORY
|
||||||
--program-prefix=
|
|
||||||
|
|
||||||
By default, inline routines are used instead of macros where possible.
|
By default, inline routines are used instead of macros where possible.
|
||||||
Macros can be selected using the --disable-inlines option. [NOTE:
|
Macros can be selected using the --disable-inlines option. [NOTE:
|
||||||
@@ -64,19 +64,14 @@ with the --enable-cxx option. If the rtems++ C++ library is installed
|
|||||||
it will also be build.
|
it will also be build.
|
||||||
|
|
||||||
By default, the RTEMS test suites are NOT configured -- only the
|
By default, the RTEMS test suites are NOT configured -- only the
|
||||||
sample tests are built. The --enable-tests will not configure
|
sample tests are built. --enable-tests will configure
|
||||||
the RTEMS test suite. The default speeds up the build
|
the RTEMS test suite. The default speeds up the build
|
||||||
and configure process when the tests are not desired.
|
and configure process when the tests are not desired.
|
||||||
|
|
||||||
By default, RTEMS is built using arguments and build rules which are
|
By default, RTEMS is built using arguments and build rules which require a
|
||||||
NOT compatible with gcc 2.7.2.2. If using a gcc which supports the
|
gcc supporting the -specs option, ie. a gcc >= 2.8.
|
||||||
-specs option, then the --enable-gcc28 option may be used to enable
|
[The --disable-gcc28 option, which has been present in former releases, has
|
||||||
this feature. You should use the --enable-gcc28 option when using
|
been removed.]
|
||||||
either the egcs source tree, testgcc snapshots, or gcc 2.8.0 or newer.
|
|
||||||
If you --disable-gcc28, then you MUST specify the location of the
|
|
||||||
Standard C Library with the --enable-libcdir option. [NOTE: These
|
|
||||||
options are considered obsolete and may be removed in a future
|
|
||||||
RTEMS release.]
|
|
||||||
|
|
||||||
By default, multiprocessing is is not built. It can be enabled
|
By default, multiprocessing is is not built. It can be enabled
|
||||||
for those BSPs supporting it by the --enable-multiprocessing option.
|
for those BSPs supporting it by the --enable-multiprocessing option.
|
||||||
@@ -140,6 +135,8 @@ By default, --enable-docs is disabled and documentation is not built.
|
|||||||
|
|
||||||
2.2 Build with Cygnus one-tree release
|
2.2 Build with Cygnus one-tree release
|
||||||
|
|
||||||
|
[NOTE: This section does not apply anymore.]
|
||||||
|
|
||||||
To build and install RTEMS with the one-tree structure, just copy the rtems
|
To build and install RTEMS with the one-tree structure, just copy the rtems
|
||||||
directory to the tree. The one-tree configure.in and Makefile.in has to be
|
directory to the tree. The one-tree configure.in and Makefile.in has to be
|
||||||
replaced with the RTEMS-aware versions. The build options are the same as
|
replaced with the RTEMS-aware versions. The build options are the same as
|
||||||
@@ -223,11 +220,12 @@ Gcc-target-default.cfg contains the common gcc definitions. Some targets
|
|||||||
6. Adding a bsp
|
6. Adding a bsp
|
||||||
===============
|
===============
|
||||||
|
|
||||||
|
[OBSOLETE: This section below does not apply anymore.]
|
||||||
The top-level configure.in has to be modified if a new target is added
|
The top-level configure.in has to be modified if a new target is added
|
||||||
or if a new bsp is to be built by default. The additions required is
|
or if a new bsp is to be built by default. The additions required is
|
||||||
basically to add which makefiles are to be created by configure and
|
basically to add which makefiles are to be created by configure and
|
||||||
to add the target to the selection statement. To re-generate
|
to add the target to the selection statement.
|
||||||
configure, autoconf-2.13 and automake-1.14 are needed.
|
|
||||||
|
|
||||||
7. Tested configurations
|
7. Tested configurations
|
||||||
========================
|
========================
|
||||||
@@ -246,21 +244,19 @@ The following configurations have NOT been tested:
|
|||||||
Gawk version 2 or higher.
|
Gawk version 2 or higher.
|
||||||
GNU make version 3.72 or higher.
|
GNU make version 3.72 or higher.
|
||||||
Bash.
|
Bash.
|
||||||
gcc version ???
|
gcc version > 2.8
|
||||||
|
|
||||||
TODO
|
TODO
|
||||||
====
|
====
|
||||||
|
|
||||||
The install-if-change script requires bash. On Solaris systems, this should
|
The install-if-change script requires bash. On Solaris systems, this should
|
||||||
be changed to ksh, since ksh is provided with Solaris (bash not).
|
be changed to ksh, since ksh is provided with Solaris (bash not). This
|
||||||
|
script is not used by RTEMS and only is provided for convenience.
|
||||||
|
|
||||||
A fairly recent version of gawk is needed to build RTEMS. This should be
|
A fairly recent version of gawk is needed to build RTEMS. This should be
|
||||||
changed so that a plain vanilla awk also works. [NOTE: This dependency
|
changed so that a plain vanilla awk also works. [NOTE: This dependency
|
||||||
should disappear when the "gcc 2.8 -specs" is finished.]
|
should disappear when the "gcc 2.8 -specs" is finished.]
|
||||||
|
|
||||||
'make install' should only install necessary files, not the full
|
|
||||||
PROJECT_RELEASE directory as now.
|
|
||||||
|
|
||||||
Posix port on Solaris-2.5 fails due to undefined built-in functions
|
Posix port on Solaris-2.5 fails due to undefined built-in functions
|
||||||
(gcc-2.7.2, might be my installation).
|
(gcc-2.7.2, might be my installation).
|
||||||
|
|
||||||
|
|||||||
@@ -67,14 +67,13 @@ AS_IF([test x"${enable_docs}" = x"yes"],
|
|||||||
RTEMS_TARGET_CONFIG_SUBDIRS([c/make])
|
RTEMS_TARGET_CONFIG_SUBDIRS([c/make])
|
||||||
AS_IF([test x"$enable_multilib" = x"yes"],[
|
AS_IF([test x"$enable_multilib" = x"yes"],[
|
||||||
RTEMS_TARGET_CONFIG_SUBDIRS([cpukit])
|
RTEMS_TARGET_CONFIG_SUBDIRS([cpukit])
|
||||||
])
|
])
|
||||||
RTEMS_TARGET_CONFIG_SUBDIRS([c])
|
RTEMS_TARGET_CONFIG_SUBDIRS([c])
|
||||||
|
|
||||||
AC_CONFIG_FILES([Makefile
|
AC_CONFIG_FILES([Makefile
|
||||||
tools/Makefile
|
tools/Makefile
|
||||||
make/Makefile
|
make/Makefile
|
||||||
make/custom/Makefile
|
make/custom/Makefile
|
||||||
make/Templates/Makefile
|
|
||||||
make/compilers/Makefile
|
make/compilers/Makefile
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user