forked from Imagelibrary/rtems
2003-08-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* buildada.t, gdb.t, tversions.texi: Don't use VARIABLEs containing '-' in @set and @value (violates texi-syntax).
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2003-08-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
|
* buildada.t, gdb.t, tversions.texi:
|
||||||
|
Don't use VARIABLEs containing '-' in @set and @value (violates
|
||||||
|
texi-syntax).
|
||||||
|
|
||||||
2003-01-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
2003-01-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
* started_ada.texi: Set @setfilename started_ada.info.
|
* started_ada.texi: Set @setfilename started_ada.info.
|
||||||
|
|||||||
@@ -50,14 +50,14 @@ This section lists the components of an RTEMS cross development system.
|
|||||||
Included are the locations of each component as well as any required RTEMS
|
Included are the locations of each component as well as any required RTEMS
|
||||||
specific patches.
|
specific patches.
|
||||||
|
|
||||||
@subheading @value{GCC-VERSION}
|
@subheading @value{GCCVERSION}
|
||||||
@example
|
@example
|
||||||
FTP Site: @value{GCC-FTPSITE}
|
FTP Site: @value{GCCFTPSITE}
|
||||||
Directory: @value{GCC-FTPDIR}
|
Directory: @value{GCCFTPDIR}
|
||||||
File: @value{GCC-TAR}
|
File: @value{GCCTAR}
|
||||||
@ifset use-html
|
@ifset use-html
|
||||||
@c URL: @uref{ftp://@value{GCC-FTPSITE}@value{GCC-FTPDIR}/@value{GCC-TAR},Download @value{GCC-VERSION}}
|
@c URL: @uref{ftp://@value{GCCFTPSITE}@value{GCCFTPDIR}/@value{GCCTAR},Download @value{GCCVERSION}}
|
||||||
URL: ftp://@value{GCC-FTPSITE}@value{GCC-FTPDIR}/@value{GCC-TAR}
|
URL: ftp://@value{GCCFTPSITE}@value{GCCFTPDIR}/@value{GCCTAR}
|
||||||
@end ifset
|
@end ifset
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@@ -72,70 +72,70 @@ specific patches.
|
|||||||
@end ifset
|
@end ifset
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@subheading @value{BINUTILS-VERSION}
|
@subheading @value{BINUTILSVERSION}
|
||||||
@example
|
@example
|
||||||
FTP Site: @value{BINUTILS-FTPSITE}
|
FTP Site: @value{BINUTILSFTPSITE}
|
||||||
Directory: @value{BINUTILS-FTPDIR}
|
Directory: @value{BINUTILSFTPDIR}
|
||||||
File: @value{BINUTILS-TAR}
|
File: @value{BINUTILSTAR}
|
||||||
@ifset use-html
|
@ifset use-html
|
||||||
@c URL: @uref{ftp://@value{BINUTILS-FTPSITE}@value{BINUTILS-FTPDIR}/@value{BINUTILS-TAR}, Download @value{BINUTILS-VERSION}}
|
@c URL: @uref{ftp://@value{BINUTILSFTPSITE}@value{BINUTILSFTPDIR}/@value{BINUTILSTAR}, Download @value{BINUTILSVERSION}}
|
||||||
URL: ftp://@value{BINUTILS-FTPSITE}@value{BINUTILS-FTPDIR}/@value{BINUTILS-TAR}
|
URL: ftp://@value{BINUTILSFTPSITE}@value{BINUTILSFTPDIR}/@value{BINUTILSTAR}
|
||||||
@end ifset
|
@end ifset
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@subheading @value{NEWLIB-VERSION}
|
@subheading @value{NEWLIBVERSION}
|
||||||
@example
|
@example
|
||||||
FTP Site: @value{NEWLIB-FTPSITE}
|
FTP Site: @value{NEWLIBFTPSITE}
|
||||||
Directory: @value{NEWLIB-FTPDIR}
|
Directory: @value{NEWLIBFTPDIR}
|
||||||
File: @value{NEWLIB-TAR}
|
File: @value{NEWLIBTAR}
|
||||||
@ifset use-html
|
@ifset use-html
|
||||||
@c URL: @uref{ftp://@value{NEWLIB-FTPSITE}@value{NEWLIB-FTPDIR}/@value{NEWLIB-TAR}, Download @value{NEWLIB-VERSION}}
|
@c URL: @uref{ftp://@value{NEWLIBFTPSITE}@value{NEWLIBFTPDIR}/@value{NEWLIBTAR}, Download @value{NEWLIBVERSION}}
|
||||||
URL: ftp://@value{NEWLIB-FTPSITE}@value{NEWLIB-FTPDIR}/@value{NEWLIB-TAR}
|
URL: ftp://@value{NEWLIBFTPSITE}@value{NEWLIBFTPDIR}/@value{NEWLIBTAR}
|
||||||
@end ifset
|
@end ifset
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@subheading @value{RTEMS-VERSION}
|
@subheading @value{RTEMSVERSION}
|
||||||
@example
|
@example
|
||||||
FTP Site: @value{RTEMS-FTPSITE}
|
FTP Site: @value{RTEMSFTPSITE}
|
||||||
Directory: @value{RTEMS-FTPDIR}
|
Directory: @value{RTEMSFTPDIR}
|
||||||
File: @value{RTEMS-TAR}
|
File: @value{RTEMSTAR}
|
||||||
@ifset use-html
|
@ifset use-html
|
||||||
@c URL: @uref{ftp://@value{RTEMS-FTPSITE}@value{RTEMS-FTPDIR}, Download RTEMS components}
|
@c URL: @uref{ftp://@value{RTEMSFTPSITE}@value{RTEMSFTPDIR}, Download RTEMS components}
|
||||||
URL: ftp://@value{RTEMS-FTPSITE}@value{RTEMS-FTPDIR}
|
URL: ftp://@value{RTEMSFTPSITE}@value{RTEMSFTPDIR}
|
||||||
@end ifset
|
@end ifset
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@subheading RTEMS Hello World
|
@subheading RTEMS Hello World
|
||||||
@example
|
@example
|
||||||
FTP Site: @value{RTEMS-FTPSITE}
|
FTP Site: @value{RTEMSFTPSITE}
|
||||||
Directory: @value{RTEMS-FTPDIR}
|
Directory: @value{RTEMSFTPDIR}
|
||||||
File: hello_world_ada.tgz
|
File: hello_world_ada.tgz
|
||||||
@ifset use-html
|
@ifset use-html
|
||||||
@c URL: @uref{ftp://@value{RTEMS-FTPSITE}@value{RTEMS-FTPDIR}/ada_tools/hello_world_ada.tgz, Download RTEMS Hello World}
|
@c URL: @uref{ftp://@value{RTEMSFTPSITE}@value{RTEMSFTPDIR}/ada_tools/hello_world_ada.tgz, Download RTEMS Hello World}
|
||||||
URL: ftp://@value{RTEMS-FTPSITE}@value{RTEMS-FTPDIR}/ada_tools/hello_world_ada.tgz
|
URL: ftp://@value{RTEMSFTPSITE}@value{RTEMSFTPDIR}/ada_tools/hello_world_ada.tgz
|
||||||
@end ifset
|
@end ifset
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@subheading RTEMS Specific Tool Patches and Scripts
|
@subheading RTEMS Specific Tool Patches and Scripts
|
||||||
@example
|
@example
|
||||||
FTP Site: @value{RTEMS-FTPSITE}
|
FTP Site: @value{RTEMSFTPSITE}
|
||||||
Directory: @value{RTEMS-FTPDIR}/ada_tools/source
|
Directory: @value{RTEMSFTPDIR}/ada_tools/source
|
||||||
File: @value{BUILDTOOLS-TAR}
|
File: @value{BUILDTOOLSTAR}
|
||||||
@ifset BINUTILS-RTEMSPATCH
|
@ifset BINUTILSRTEMSPATCH
|
||||||
File: @value{BINUTILS-RTEMSPATCH}
|
File: @value{BINUTILSRTEMSPATCH}
|
||||||
@end ifset
|
@end ifset
|
||||||
@ifset NEWLIB-RTEMSPATCH
|
@ifset NEWLIBRTEMSPATCH
|
||||||
File: @value{NEWLIB-RTEMSPATCH}
|
File: @value{NEWLIBRTEMSPATCH}
|
||||||
@end ifset
|
@end ifset
|
||||||
@ifset GCC-RTEMSPATCH
|
@ifset GCCRTEMSPATCH
|
||||||
File: @value{GCC-RTEMSPATCH}
|
File: @value{GCCRTEMSPATCH}
|
||||||
@end ifset
|
@end ifset
|
||||||
@ifset GNAT-RTEMSPATCH
|
@ifset GNAT-RTEMSPATCH
|
||||||
File: @value{GNAT-RTEMSPATCH}
|
File: @value{GNAT-RTEMSPATCH}
|
||||||
@end ifset
|
@end ifset
|
||||||
@ifset use-html
|
@ifset use-html
|
||||||
@c URL: @uref{ftp://@value{RTEMS-FTPSITE}@value{RTEMS-FTPDIR}/ada_tools/source, Download RTEMS patches}
|
@c URL: @uref{ftp://@value{RTEMSFTPSITE}@value{RTEMSFTPDIR}/ada_tools/source, Download RTEMS patches}
|
||||||
URL: ftp://@value{RTEMS-FTPSITE}@value{RTEMS-FTPDIR}/ada_tools/source
|
URL: ftp://@value{RTEMSFTPSITE}@value{RTEMSFTPDIR}/ada_tools/source
|
||||||
@end ifset
|
@end ifset
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@@ -146,21 +146,21 @@ tar files using the following command sequence:
|
|||||||
|
|
||||||
@example
|
@example
|
||||||
cd tools
|
cd tools
|
||||||
tar xzf ../archive/@value{GCC-TAR}
|
tar xzf ../archive/@value{GCCTAR}
|
||||||
tar xzf ../archive/@value{GNAT-TAR}
|
tar xzf ../archive/@value{GNAT-TAR}
|
||||||
tar xzf ../archive/@value{BINUTILS-TAR}
|
tar xzf ../archive/@value{BINUTILSTAR}
|
||||||
tar xzf ../archive/@value{NEWLIB-TAR}
|
tar xzf ../archive/@value{NEWLIBTAR}
|
||||||
tar xzf ../archive/@value{BUILDTOOLS-TAR}
|
tar xzf ../archive/@value{BUILDTOOLSTAR}
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
After the compressed tar files have been unpacked, the following
|
After the compressed tar files have been unpacked, the following
|
||||||
directories will have been created under tools.
|
directories will have been created under tools.
|
||||||
|
|
||||||
@itemize @bullet
|
@itemize @bullet
|
||||||
@item @value{BINUTILS-UNTAR}
|
@item @value{BINUTILSUNTAR}
|
||||||
@item @value{GCC-UNTAR}
|
@item @value{GCCUNTAR}
|
||||||
@item @value{GNAT-UNTAR}
|
@item @value{GNAT-UNTAR}
|
||||||
@item @value{NEWLIB-UNTAR}
|
@item @value{NEWLIBUNTAR}
|
||||||
@end itemize
|
@end itemize
|
||||||
|
|
||||||
There will also be a set of scripts in the current directory
|
There will also be a set of scripts in the current directory
|
||||||
@@ -193,20 +193,20 @@ The directory tree should look something like the following figure:
|
|||||||
@group
|
@group
|
||||||
/whatever/prefix/you/choose/
|
/whatever/prefix/you/choose/
|
||||||
archive/
|
archive/
|
||||||
@value{GCC-TAR}
|
@value{GCCTAR}
|
||||||
@value{GNAT-TAR}
|
@value{GNAT-TAR}
|
||||||
@value{BINUTILS-TAR}
|
@value{BINUTILSTAR}
|
||||||
@value{NEWLIB-TAR}
|
@value{NEWLIBTAR}
|
||||||
@value{RTEMS-TAR}
|
@value{RTEMSTAR}
|
||||||
@value{BUILDTOOLS-TAR}
|
@value{BUILDTOOLSTAR}
|
||||||
@ifset GCC-RTEMSPATCH
|
@ifset GCCRTEMSPATCH
|
||||||
@value{GCC-RTEMSPATCH}
|
@value{GCCRTEMSPATCH}
|
||||||
@end ifset
|
@end ifset
|
||||||
@ifset BINUTILS-RTEMSPATCH
|
@ifset BINUTILSRTEMSPATCH
|
||||||
@value{BINUTILS-RTEMSPATCH}
|
@value{BINUTILSRTEMSPATCH}
|
||||||
@end ifset
|
@end ifset
|
||||||
@ifset NEWLIB-RTEMSPATCH
|
@ifset NEWLIBRTEMSPATCH
|
||||||
@value{NEWLIB-RTEMSPATCH}
|
@value{NEWLIBRTEMSPATCH}
|
||||||
@end ifset
|
@end ifset
|
||||||
@ifset GNAT-RTEMSPATCH
|
@ifset GNAT-RTEMSPATCH
|
||||||
@value{GNAT-RTEMSPATCH}
|
@value{GNAT-RTEMSPATCH}
|
||||||
@@ -214,10 +214,10 @@ The directory tree should look something like the following figure:
|
|||||||
hello_world_ada.tgz
|
hello_world_ada.tgz
|
||||||
bit_ada
|
bit_ada
|
||||||
tools/
|
tools/
|
||||||
@value{BINUTILS-UNTAR}/
|
@value{BINUTILSUNTAR}/
|
||||||
@value{GCC-UNTAR}/
|
@value{GCCUNTAR}/
|
||||||
@value{GNAT-UNTAR}/
|
@value{GNAT-UNTAR}/
|
||||||
@value{NEWLIB-UNTAR}/
|
@value{NEWLIBUNTAR}/
|
||||||
bit_ada
|
bit_ada
|
||||||
bit_gdb
|
bit_gdb
|
||||||
bit_rtems
|
bit_rtems
|
||||||
@@ -263,25 +263,25 @@ documentation before posting a problem to a mailing list or news group.
|
|||||||
|
|
||||||
@section Apply RTEMS Patch to GCC
|
@section Apply RTEMS Patch to GCC
|
||||||
|
|
||||||
@ifclear GCC-RTEMSPATCH
|
@ifclear GCCRTEMSPATCH
|
||||||
No RTEMS specific patches are required for @value{GCC-VERSION} to
|
No RTEMS specific patches are required for @value{GCCVERSION} to
|
||||||
support @value{RTEMS-VERSION}.
|
support @value{RTEMSVERSION}.
|
||||||
@end ifclear
|
@end ifclear
|
||||||
|
|
||||||
@ifset GCC-RTEMSPATCH
|
@ifset GCCRTEMSPATCH
|
||||||
|
|
||||||
Apply the patch using the following command sequence:
|
Apply the patch using the following command sequence:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
cd tools/@value{GCC-UNTAR}
|
cd tools/@value{GCCUNTAR}
|
||||||
zcat ../../archive/@value{GCC-RTEMSPATCH} | patch -p1
|
zcat ../../archive/@value{GCCRTEMSPATCH} | patch -p1
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
Check to see if any of these patches have been rejected using the following
|
Check to see if any of these patches have been rejected using the following
|
||||||
sequence:
|
sequence:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
cd tools/@value{GCC-UNTAR}
|
cd tools/@value{GCCUNTAR}
|
||||||
find . -name "*.rej" -print
|
find . -name "*.rej" -print
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@@ -296,24 +296,24 @@ This should not happen with a good patch file which is properly applied.
|
|||||||
|
|
||||||
@section Apply RTEMS Patch to binutils
|
@section Apply RTEMS Patch to binutils
|
||||||
|
|
||||||
@ifclear BINUTILS-RTEMSPATCH
|
@ifclear BINUTILSRTEMSPATCH
|
||||||
No RTEMS specific patches are required for @value{BINUTILS-VERSION} to
|
No RTEMS specific patches are required for @value{BINUTILSVERSION} to
|
||||||
support @value{RTEMS-VERSION}.
|
support @value{RTEMSVERSION}.
|
||||||
@end ifclear
|
@end ifclear
|
||||||
|
|
||||||
@ifset BINUTILS-RTEMSPATCH
|
@ifset BINUTILSRTEMSPATCH
|
||||||
Apply the patch using the following command sequence:
|
Apply the patch using the following command sequence:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
cd tools/@value{BINUTILS-UNTAR}
|
cd tools/@value{BINUTILSUNTAR}
|
||||||
zcat ../../archive/@value{BINUTILS-RTEMSPATCH} | patch -p1
|
zcat ../../archive/@value{BINUTILSRTEMSPATCH} | patch -p1
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
Check to see if any of these patches have been rejected using the following
|
Check to see if any of these patches have been rejected using the following
|
||||||
sequence:
|
sequence:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
cd tools/@value{BINUTILS-UNTAR}
|
cd tools/@value{BINUTILSUNTAR}
|
||||||
find . -name "*.rej" -print
|
find . -name "*.rej" -print
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@@ -328,25 +328,25 @@ This should not happen with a good patch file which is properly applied.
|
|||||||
|
|
||||||
@section Apply RTEMS Patch to newlib
|
@section Apply RTEMS Patch to newlib
|
||||||
|
|
||||||
@ifclear NEWLIB-RTEMSPATCH
|
@ifclear NEWLIBRTEMSPATCH
|
||||||
No RTEMS specific patches are required for @value{NEWLIB-VERSION} to
|
No RTEMS specific patches are required for @value{NEWLIBVERSION} to
|
||||||
support @value{RTEMS-VERSION}.
|
support @value{RTEMSVERSION}.
|
||||||
@end ifclear
|
@end ifclear
|
||||||
|
|
||||||
@ifset NEWLIB-RTEMSPATCH
|
@ifset NEWLIBRTEMSPATCH
|
||||||
|
|
||||||
Apply the patch using the following command sequence:
|
Apply the patch using the following command sequence:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
cd tools/@value{NEWLIB-UNTAR}
|
cd tools/@value{NEWLIBUNTAR}
|
||||||
zcat ../../archive/@value{NEWLIB-RTEMSPATCH} | patch -p1
|
zcat ../../archive/@value{NEWLIBRTEMSPATCH} | patch -p1
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
Check to see if any of these patches have been rejected using the following
|
Check to see if any of these patches have been rejected using the following
|
||||||
sequence:
|
sequence:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
cd tools/@value{NEWLIB-UNTAR}
|
cd tools/@value{NEWLIBUNTAR}
|
||||||
find . -name "*.rej" -print
|
find . -name "*.rej" -print
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@@ -363,7 +363,7 @@ This should not happen with a good patch file which is properly applied.
|
|||||||
|
|
||||||
@ifclear GNAT-RTEMSPATCH
|
@ifclear GNAT-RTEMSPATCH
|
||||||
No RTEMS specific patches are required for @value{GNAT-VERSION} to
|
No RTEMS specific patches are required for @value{GNAT-VERSION} to
|
||||||
support @value{RTEMS-VERSION}.
|
support @value{RTEMSVERSION}.
|
||||||
@end ifclear
|
@end ifclear
|
||||||
|
|
||||||
@ifset GNAT-RTEMSPATCH
|
@ifset GNAT-RTEMSPATCH
|
||||||
@@ -397,11 +397,11 @@ This should not happen with a good patch file which is properly applied.
|
|||||||
|
|
||||||
Copy the ada subtree in the patched subtree of
|
Copy the ada subtree in the patched subtree of
|
||||||
tools/@value{GNAT-UNTAR}/src to the
|
tools/@value{GNAT-UNTAR}/src to the
|
||||||
tools/@value{GCC-UNTAR} directory:
|
tools/@value{GCCUNTAR} directory:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
cd tools/@value{GNAT-UNTAR}/src
|
cd tools/@value{GNAT-UNTAR}/src
|
||||||
cp -r ada ../../@value{GCC-UNTAR}
|
cp -r ada ../../@value{GCCUNTAR}
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
|
|
||||||
@@ -428,30 +428,30 @@ under the build directory. The build directory will be removed
|
|||||||
automatically upon successful completion of the build procedure.
|
automatically upon successful completion of the build procedure.
|
||||||
|
|
||||||
@item BINUTILS
|
@item BINUTILS
|
||||||
is the directory under tools that contains @value{BINUTILS-UNTAR}.
|
is the directory under tools that contains @value{BINUTILSUNTAR}.
|
||||||
For example:
|
For example:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
BINUTILS=@value{BINUTILS-UNTAR}
|
BINUTILS=@value{BINUTILSUNTAR}
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@item GCC
|
@item GCC
|
||||||
is the directory under tools that contains @value{GCC-UNTAR}.
|
is the directory under tools that contains @value{GCCUNTAR}.
|
||||||
For example,
|
For example,
|
||||||
|
|
||||||
@example
|
@example
|
||||||
GCC=@value{GCC-UNTAR}
|
GCC=@value{GCCUNTAR}
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
Note that the gnat version is not needed because the gnat source
|
Note that the gnat version is not needed because the gnat source
|
||||||
is built as part of building gcc.
|
is built as part of building gcc.
|
||||||
|
|
||||||
@item NEWLIB
|
@item NEWLIB
|
||||||
is the directory under tools that contains @value{NEWLIB-UNTAR}.
|
is the directory under tools that contains @value{NEWLIBUNTAR}.
|
||||||
For example:
|
For example:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
NEWLIB=@value{NEWLIB-UNTAR}
|
NEWLIB=@value{NEWLIBUNTAR}
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@item BUILD_DOCS
|
@item BUILD_DOCS
|
||||||
@@ -483,7 +483,7 @@ executable code in these libraries will be for the default compiler settings
|
|||||||
and not necessarily be correct for your CPU model.
|
and not necessarily be correct for your CPU model.
|
||||||
|
|
||||||
@item RTEMS
|
@item RTEMS
|
||||||
is the directory under tools that contails @value{RTEMS-UNTAR}.
|
is the directory under tools that contails @value{RTEMSUNTAR}.
|
||||||
|
|
||||||
@item ENABLE_RTEMS_POSIX
|
@item ENABLE_RTEMS_POSIX
|
||||||
is set to "yes" if you want to enable the RTEMS POSIX API support.
|
is set to "yes" if you want to enable the RTEMS POSIX API support.
|
||||||
@@ -674,7 +674,7 @@ in the various tool source trees. The following command
|
|||||||
does this for the binutils source:
|
does this for the binutils source:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
find @value{BINUTILS-UNTAR} -name config.status -print
|
find @value{BINUTILSUNTAR} -name config.status -print
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
The solution for this is to execute the command
|
The solution for this is to execute the command
|
||||||
@@ -691,7 +691,7 @@ configuration. The include path used is something like
|
|||||||
this:
|
this:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
-I../../@value{BINUTILS-UNTAR}/gcc -I/@value{BINUTILS-UNTAR}/gcc/include -I.
|
-I../../@value{BINUTILSUNTAR}/gcc -I/@value{BINUTILSUNTAR}/gcc/include -I.
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
Note that the tool source directory is searched before the
|
Note that the tool source directory is searched before the
|
||||||
|
|||||||
@@ -26,10 +26,10 @@ Use the following commands to unarchive the gdb distribution:
|
|||||||
|
|
||||||
@example
|
@example
|
||||||
cd tools
|
cd tools
|
||||||
tar xzf ../archive/@value{GDB-TAR}
|
tar xzf ../archive/@value{GDBTAR}
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
The directory @value{GDB-UNTAR} is created under the tools directory.
|
The directory @value{GDBUNTAR} is created under the tools directory.
|
||||||
|
|
||||||
@c
|
@c
|
||||||
@c GDB GNAT Patch
|
@c GDB GNAT Patch
|
||||||
@@ -38,8 +38,8 @@ The directory @value{GDB-UNTAR} is created under the tools directory.
|
|||||||
@section Apply GNAT Patch to GDB
|
@section Apply GNAT Patch to GDB
|
||||||
|
|
||||||
@ifclear GDB-GNATPATCH
|
@ifclear GDB-GNATPATCH
|
||||||
No GNAT specific patches are required for @value{GDB-VERSION} to
|
No GNAT specific patches are required for @value{GDBVERSION} to
|
||||||
support @value{RTEMS-VERSION} and @value{GNAT-VERSION}.
|
support @value{RTEMSVERSION} and @value{GNAT-VERSION}.
|
||||||
@end ifclear
|
@end ifclear
|
||||||
|
|
||||||
@ifset GDB-GNATPATCH
|
@ifset GDB-GNATPATCH
|
||||||
@@ -47,7 +47,7 @@ support @value{RTEMS-VERSION} and @value{GNAT-VERSION}.
|
|||||||
Apply the patch using the following command sequence:
|
Apply the patch using the following command sequence:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
cd tools/@value{GDB-UNTAR}
|
cd tools/@value{GDBUNTAR}
|
||||||
zcat archive/@value{GDB-GNATPATCH} | patch -p1
|
zcat archive/@value{GDB-GNATPATCH} | patch -p1
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@@ -55,7 +55,7 @@ Check to see if any of these patches have been rejected using the following
|
|||||||
sequence:
|
sequence:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
cd tools/@value{GDB-UNTAR}
|
cd tools/@value{GDBUNTAR}
|
||||||
find . -name "*.rej" -print
|
find . -name "*.rej" -print
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@@ -65,7 +65,7 @@ This should not happen with a good patch file.
|
|||||||
To see the files that have been modified use the sequence:
|
To see the files that have been modified use the sequence:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
cd tools/@value{GDB-UNTAR}
|
cd tools/@value{GDBUNTAR}
|
||||||
find . -name "*.orig" -print
|
find . -name "*.orig" -print
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@@ -79,25 +79,25 @@ The files that are found, have been modified by the patch file.
|
|||||||
|
|
||||||
@section Apply RTEMS Patch to GDB
|
@section Apply RTEMS Patch to GDB
|
||||||
|
|
||||||
@ifclear GDB-RTEMSPATCH
|
@ifclear GDBRTEMSPATCH
|
||||||
No RTEMS specific patches are required for @value{GDB-VERSION} to
|
No RTEMS specific patches are required for @value{GDBVERSION} to
|
||||||
support @value{RTEMS-VERSION}.
|
support @value{RTEMSVERSION}.
|
||||||
@end ifclear
|
@end ifclear
|
||||||
|
|
||||||
@ifset GDB-RTEMSPATCH
|
@ifset GDBRTEMSPATCH
|
||||||
|
|
||||||
Apply the patch using the following command sequence:
|
Apply the patch using the following command sequence:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
cd tools/@value{GDB-UNTAR}
|
cd tools/@value{GDBUNTAR}
|
||||||
zcat archive/@value{GDB-RTEMSPATCH} | patch -p1
|
zcat archive/@value{GDBRTEMSPATCH} | patch -p1
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
Check to see if any of these patches have been rejected using the following
|
Check to see if any of these patches have been rejected using the following
|
||||||
sequence:
|
sequence:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
cd tools/@value{GDB-UNTAR}
|
cd tools/@value{GDBUNTAR}
|
||||||
find . -name "*.rej" -print
|
find . -name "*.rej" -print
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@@ -107,7 +107,7 @@ This should not happen with a good patch file.
|
|||||||
To see the files that have been modified use the sequence:
|
To see the files that have been modified use the sequence:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
cd tools/@value{GDB-UNTAR}
|
cd tools/@value{GDBUNTAR}
|
||||||
find . -name "*.orig" -print
|
find . -name "*.orig" -print
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@@ -134,7 +134,7 @@ Sparc Instruction Simulator (SIS):
|
|||||||
|
|
||||||
@example
|
@example
|
||||||
cd tools/build-sis
|
cd tools/build-sis
|
||||||
../@value{GDB-UNTAR}/configure --target-sparc-erc32-aout \
|
../@value{GDBUNTAR}/configure --target-sparc-erc32-aout \
|
||||||
--program-prefix=sparc-rtems- \
|
--program-prefix=sparc-rtems- \
|
||||||
--disable-gdbtk \
|
--disable-gdbtk \
|
||||||
--enable-targets=all \
|
--enable-targets=all \
|
||||||
@@ -172,7 +172,7 @@ Instruction Simulator (PSIM):
|
|||||||
|
|
||||||
@example
|
@example
|
||||||
cd tools/build-ppc
|
cd tools/build-ppc
|
||||||
../@value{GDB-UNTAR}/configure \
|
../@value{GDBUNTAR}/configure \
|
||||||
--target=powerpc-unknown-eabi \
|
--target=powerpc-unknown-eabi \
|
||||||
--program-prefix=powerpc-rtems- \
|
--program-prefix=powerpc-rtems- \
|
||||||
--enable-sim-powerpc \
|
--enable-sim-powerpc \
|
||||||
@@ -215,7 +215,7 @@ the DINK32 ROM monitor:
|
|||||||
|
|
||||||
@example
|
@example
|
||||||
cd tools/build-dink32
|
cd tools/build-dink32
|
||||||
../@value{GDB-UNTAR}/configure --target-powerpc-elf \
|
../@value{GDBUNTAR}/configure --target-powerpc-elf \
|
||||||
--program-prefix=powerpc-rtems- \
|
--program-prefix=powerpc-rtems- \
|
||||||
--enable-targets=all \
|
--enable-targets=all \
|
||||||
--prefix=<INSTALL_POINT_FOR_DINK32>
|
--prefix=<INSTALL_POINT_FOR_DINK32>
|
||||||
|
|||||||
@@ -21,12 +21,12 @@
|
|||||||
@c GCC Version
|
@c GCC Version
|
||||||
@c
|
@c
|
||||||
|
|
||||||
@set GCC-VERSION gcc 2.8.1
|
@set GCCVERSION gcc 2.8.1
|
||||||
@set GCC-TAR gcc-2.8.1.tar.gz
|
@set GCCTAR gcc-2.8.1.tar.gz
|
||||||
@set GCC-UNTAR gcc-2.8.1
|
@set GCCUNTAR gcc-2.8.1
|
||||||
@set GCC-FTPSITE ftp.gnu.org
|
@set GCCFTPSITE ftp.gnu.org
|
||||||
@set GCC-FTPDIR /pub/gnu/gcc
|
@set GCCFTPDIR /pub/gnu/gcc
|
||||||
@set GCC-RTEMSPATCH gcc-2.8.1-rtems-gnat-3.13p-20000429.diff.gz
|
@set GCCRTEMSPATCH gcc-2.8.1-rtems-gnat-3.13p-20000429.diff.gz
|
||||||
|
|
||||||
@c
|
@c
|
||||||
@c GNAT Version
|
@c GNAT Version
|
||||||
@@ -44,53 +44,53 @@
|
|||||||
@c
|
@c
|
||||||
|
|
||||||
@c The "official" binutils
|
@c The "official" binutils
|
||||||
@set BINUTILS-VERSION binutils 2.10
|
@set BINUTILSVERSION binutils 2.10
|
||||||
@set BINUTILS-TAR binutils-2.10.tar.gz
|
@set BINUTILSTAR binutils-2.10.tar.gz
|
||||||
@set BINUTILS-UNTAR binutils-2.10
|
@set BINUTILSUNTAR binutils-2.10
|
||||||
@set BINUTILS-FTPSITE ftp.gnu.org
|
@set BINUTILSFTPSITE ftp.gnu.org
|
||||||
@set BINUTILS-FTPDIR /pub/gnu/binutils
|
@set BINUTILSFTPDIR /pub/gnu/binutils
|
||||||
@set BINUTILS-RTEMSPATCH binutils-2.10-rtems-gnat-3.13p-20001107.diff
|
@set BINUTILSRTEMSPATCH binutils-2.10-rtems-gnat-3.13p-20001107.diff
|
||||||
|
|
||||||
@c When forced to use a snapshot
|
@c When forced to use a snapshot
|
||||||
@c @set BINUTILS-VERSION gas 980314
|
@c @set BINUTILSVERSION gas 980314
|
||||||
@c @set BINUTILS-TAR gas-980314.tgz
|
@c @set BINUTILSTAR gas-980314.tgz
|
||||||
@c @set BINUTILS-UNTAR gas-980314
|
@c @set BINUTILSUNTAR gas-980314
|
||||||
@c @set BINUTILS-FTPSITE ftp.OARcorp.com
|
@c @set BINUTILSFTPSITE ftp.OARcorp.com
|
||||||
@c @set BINUTILS-FTPDIR /oarcorp/private/beta3/ada_tools
|
@c @set BINUTILSFTPDIR /oarcorp/private/beta3/ada_tools
|
||||||
@c @set BINUTILS-RTEMSPATCH binutils-2.8.1-rtems-diff-980321.gz
|
@c @set BINUTILSRTEMSPATCH binutils-2.8.1-rtems-diff-980321.gz
|
||||||
|
|
||||||
@c
|
@c
|
||||||
@c NEWLIB Version
|
@c NEWLIB Version
|
||||||
@c
|
@c
|
||||||
|
|
||||||
@set NEWLIB-VERSION newlib 1.8.2
|
@set NEWLIBVERSION newlib 1.8.2
|
||||||
@set NEWLIB-TAR newlib-1.8.2.tar.gz
|
@set NEWLIBTAR newlib-1.8.2.tar.gz
|
||||||
@set NEWLIB-UNTAR newlib-1.8.2
|
@set NEWLIBUNTAR newlib-1.8.2
|
||||||
@set NEWLIB-FTPSITE sources.redhat.com
|
@set NEWLIBFTPSITE sources.redhat.com
|
||||||
@set NEWLIB-FTPDIR /pub/newlib
|
@set NEWLIBFTPDIR /pub/newlib
|
||||||
@set NEWLIB-RTEMSPATCH newlib-1.8.2-rtems-20000606.diff.gz
|
@set NEWLIBRTEMSPATCH newlib-1.8.2-rtems-20000606.diff.gz
|
||||||
|
|
||||||
@c
|
@c
|
||||||
@c GDB Version
|
@c GDB Version
|
||||||
@c
|
@c
|
||||||
|
|
||||||
@set GDB-VERSION gdb 4.17
|
@set GDBVERSION gdb 4.17
|
||||||
@set GDB-TAR gdb-4.17.tar.gz
|
@set GDBTAR gdb-4.17.tar.gz
|
||||||
@set GDB-UNTAR gdb-4.17
|
@set GDBUNTAR gdb-4.17
|
||||||
@set GDB-FTPSITE ftp.gnu.org
|
@set GDBFTPSITE ftp.gnu.org
|
||||||
@set GDB-FTPDIR /pub/gnu/gdb/
|
@set GDBFTPDIR /pub/gnu/gdb/
|
||||||
@set GDB-RTEMSPATCH gdb-4.17-rtems-gnat-3.13p-20000918.diff
|
@set GDBRTEMSPATCH gdb-4.17-rtems-gnat-3.13p-20000918.diff
|
||||||
@c @set GDB-GNATPATCH gdb-ada-patch-1.17.8.gz
|
@c @set GDB-GNATPATCH gdb-ada-patch-1.17.8.gz
|
||||||
|
|
||||||
@c
|
@c
|
||||||
@c RTEMS Version
|
@c RTEMS Version
|
||||||
@c
|
@c
|
||||||
|
|
||||||
@set RTEMS-VERSION RTEMS 4.5.1
|
@set RTEMSVERSION RTEMS 4.5.1
|
||||||
@set RTEMS-TAR rtems-4.5.1.tgz
|
@set RTEMSTAR rtems-4.5.1.tgz
|
||||||
@set RTEMS-UNTAR rtems-4.5.1
|
@set RTEMSUNTAR rtems-4.5.1
|
||||||
@set RTEMS-FTPSITE ftp.OARcorp.com
|
@set RTEMSFTPSITE ftp.OARcorp.com
|
||||||
@set RTEMS-FTPDIR /pub/rtems/releases/4.5.1
|
@set RTEMSFTPDIR /pub/rtems/releases/4.5.1
|
||||||
@set BUILDTOOLS-TAR c_build_scripts-4.5.1.tgz
|
@set BUILDTOOLSTAR c_build_scripts-4.5.1.tgz
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user