forked from Imagelibrary/rtems
Now builds for all formats and includes urls
This commit is contained in:
@@ -107,17 +107,26 @@ specific patches.
|
|||||||
FTP Site: @value{RTEMS-FTPSITE}
|
FTP Site: @value{RTEMS-FTPSITE}
|
||||||
Directory: @value{RTEMS-FTPDIR}
|
Directory: @value{RTEMS-FTPDIR}
|
||||||
File: @value{RTEMS-TAR}
|
File: @value{RTEMS-TAR}
|
||||||
File: hello_world_c.tgz
|
|
||||||
File: bit
|
|
||||||
@ifset use-html
|
@ifset use-html
|
||||||
URL: @href{Download RTEMS components,,,ftp://@value{RTEMS-FTPSITE}@value{RTEMS-FTPDIR}}
|
URL: @href{Download RTEMS components,,,ftp://@value{RTEMS-FTPSITE}@value{RTEMS-FTPDIR}}
|
||||||
@end ifset
|
@end ifset
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@subheading RTEMS Specific Tool Patches
|
@subheading RTEMS Hello World
|
||||||
|
@example
|
||||||
|
FTP Site: @value{RTEMS-FTPSITE}
|
||||||
|
Directory: @value{RTEMS-FTPDIR}
|
||||||
|
File: hello_world_c.tgz
|
||||||
|
@ifset use-html
|
||||||
|
URL: @href{Download RTEMS Hello World,,,ftp://@value{RTEMS-FTPSITE}@value{RTEMS-FTPDIR}/hello_world_c.tgz}
|
||||||
|
@end ifset
|
||||||
|
@end example
|
||||||
|
|
||||||
|
@subheading RTEMS Specific Tool Patches and Scripts
|
||||||
@example
|
@example
|
||||||
FTP Site: @value{RTEMS-FTPSITE}
|
FTP Site: @value{RTEMS-FTPSITE}
|
||||||
Directory: @value{RTEMS-FTPDIR}/c_tools
|
Directory: @value{RTEMS-FTPDIR}/c_tools
|
||||||
|
File: bit
|
||||||
@ifset BINUTILS-RTEMSPATCH
|
@ifset BINUTILS-RTEMSPATCH
|
||||||
File: @value{BINUTILS-RTEMSPATCH}
|
File: @value{BINUTILS-RTEMSPATCH}
|
||||||
@end ifset
|
@end ifset
|
||||||
@@ -127,15 +136,9 @@ specific patches.
|
|||||||
@ifset GCC-RTEMSPATCH
|
@ifset GCC-RTEMSPATCH
|
||||||
File: @value{GCC-RTEMSPATCH}
|
File: @value{GCC-RTEMSPATCH}
|
||||||
@end ifset
|
@end ifset
|
||||||
URL: @href{Download RTEMS patches,,,ftp://@value{RTEMS-FTPSITE}@value{RTEMS-FTPDIR}/c_tools}
|
@ifset use-html
|
||||||
@c Just in case there are ever no patches
|
URL: @href{Download RTEMS Patches and Scripts,,,ftp://@value{RTEMS-FTPSITE}@value{RTEMS-FTPDIR}/c_tools}
|
||||||
@ifclear BINUTILS-RTEMSPATCH
|
@end ifset
|
||||||
@ifclear GCC-RTEMSPATCH
|
|
||||||
@ifclear NEWLIB-RTEMSPATCH
|
|
||||||
No RTEMS specific patches are required.
|
|
||||||
@end ifclear
|
|
||||||
@end ifclear
|
|
||||||
@end ifclear
|
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@section Unarchiving the Tools
|
@section Unarchiving the Tools
|
||||||
|
|||||||
@@ -65,7 +65,14 @@ save files with Unix format (so don't use Notepad
|
|||||||
nor Wordpad). If you do not have an appropriate
|
nor Wordpad). If you do not have an appropriate
|
||||||
text editor, try @b{Programmers File Editor}, it is
|
text editor, try @b{Programmers File Editor}, it is
|
||||||
free and very convenient. This editor may be downloaded
|
free and very convenient. This editor may be downloaded
|
||||||
from @href{@value{PFE-FTP},,@value{PFE-FTP}}.
|
from:
|
||||||
|
|
||||||
|
@ifset use-html
|
||||||
|
@href{@value{PFE-FTP},,@value{PFE-FTP}}
|
||||||
|
@end ifset
|
||||||
|
@ifclear use-html
|
||||||
|
@value{PFE-FTP}
|
||||||
|
@end ifclear
|
||||||
|
|
||||||
@subsection Bug in Patch Utility
|
@subsection Bug in Patch Utility
|
||||||
|
|
||||||
@@ -76,12 +83,19 @@ Unix format, so a @code{dos2unix}-like command must
|
|||||||
be used to put them back into Unix format as shown below:
|
be used to put them back into Unix format as shown below:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
dos2unix XXX
|
$ dos2unix XYZ
|
||||||
|
Dos2Unix: Cleaning file XYZ ...
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
The dos2unix utility may be downloaded from:
|
The dos2unix utility may be downloaded from:
|
||||||
|
|
||||||
@href{@value{DOS2UNIX-FTP},,,@value{DOS2UNIX-FTP}}.
|
@ifset use-html
|
||||||
|
@href{@value{DOS2UNIX-FTP},,,@value{DOS2UNIX-FTP}}
|
||||||
|
@end ifset
|
||||||
|
@ifclear use-html
|
||||||
|
@value{DOS2UNIX-FTP}
|
||||||
|
@end ifclear
|
||||||
|
|
||||||
|
|
||||||
@subsection Files Needed
|
@subsection Files Needed
|
||||||
|
|
||||||
@@ -96,10 +110,20 @@ Web browser or ftp client.
|
|||||||
@table @b
|
@table @b
|
||||||
|
|
||||||
@item cdk.exe
|
@item cdk.exe
|
||||||
@ref{@value{CYGWIN-FTP},,@value{CYGWIN-FTP}}
|
@ifset use-html
|
||||||
|
@href{@value{CYGWIN-FTP},,@value{CYGWIN-FTP}}
|
||||||
|
@end ifset
|
||||||
|
@ifclear use-html
|
||||||
|
@value{CYGWIN-FTP}
|
||||||
|
@end ifclear
|
||||||
|
|
||||||
@item usertools.exe
|
@item usertools.exe
|
||||||
@ref{@value{CYGWIN-FTP},,@value{CYGWIN-FTP}}
|
@ifset use-html
|
||||||
|
@href{@value{CYGWIN-FTP},,@value{CYGWIN-FTP}}
|
||||||
|
@end ifset
|
||||||
|
@ifclear use-html
|
||||||
|
@value{CYGWIN-FTP}
|
||||||
|
@end ifclear
|
||||||
|
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ one shown in the following figure:
|
|||||||
@end html
|
@end html
|
||||||
@end ifset
|
@end ifset
|
||||||
|
|
||||||
@section Get all the Pieces
|
@section Get All the Pieces
|
||||||
|
|
||||||
This section lists the components of an RTEMS cross development system.
|
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
|
||||||
@@ -77,6 +77,9 @@ specific patches.
|
|||||||
FTP Site: @value{GCC-FTPSITE}
|
FTP Site: @value{GCC-FTPSITE}
|
||||||
Directory: @value{GCC-FTPDIR}
|
Directory: @value{GCC-FTPDIR}
|
||||||
File: @value{GCC-TAR}
|
File: @value{GCC-TAR}
|
||||||
|
@ifset use-html
|
||||||
|
URL: @href{Download @value{GCC-VERSION},,,ftp://@value{GCC-FTPSITE}@value{GCC-FTPDIR}/@value{GCC-TAR}}
|
||||||
|
@end ifset
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@subheading @value{GNAT-VERSION}
|
@subheading @value{GNAT-VERSION}
|
||||||
@@ -84,6 +87,9 @@ specific patches.
|
|||||||
FTP Site: @value{GNAT-FTPSITE}
|
FTP Site: @value{GNAT-FTPSITE}
|
||||||
Directory: @value{GNAT-FTPDIR}
|
Directory: @value{GNAT-FTPDIR}
|
||||||
File: @value{GNAT-TAR}
|
File: @value{GNAT-TAR}
|
||||||
|
@ifset use-html
|
||||||
|
URL: @href{Download @value{GNAT-VERSION},,,ftp://@value{GNAT-FTPSITE}@value{GNAT-FTPDIR}/@value{GNAT-TAR}}
|
||||||
|
@end ifset
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@subheading @value{BINUTILS-VERSION}
|
@subheading @value{BINUTILS-VERSION}
|
||||||
@@ -91,6 +97,9 @@ specific patches.
|
|||||||
FTP Site: @value{BINUTILS-FTPSITE}
|
FTP Site: @value{BINUTILS-FTPSITE}
|
||||||
Directory: @value{BINUTILS-FTPDIR}
|
Directory: @value{BINUTILS-FTPDIR}
|
||||||
File: @value{BINUTILS-TAR}
|
File: @value{BINUTILS-TAR}
|
||||||
|
@ifset use-html
|
||||||
|
URL: @href{Download @value{BINUTILS-VERSION},,,ftp://@value{BINUTILS-FTPSITE}@value{BINUTILS-FTPDIR}/@value{BINUTILS-TAR}}
|
||||||
|
@end ifset
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@subheading @value{NEWLIB-VERSION}
|
@subheading @value{NEWLIB-VERSION}
|
||||||
@@ -98,6 +107,9 @@ specific patches.
|
|||||||
FTP Site: @value{NEWLIB-FTPSITE}
|
FTP Site: @value{NEWLIB-FTPSITE}
|
||||||
Directory: @value{NEWLIB-FTPDIR}
|
Directory: @value{NEWLIB-FTPDIR}
|
||||||
File: @value{NEWLIB-TAR}
|
File: @value{NEWLIB-TAR}
|
||||||
|
@ifset use-html
|
||||||
|
URL: @href{Download @value{NEWLIB-VERSION},,,ftp://@value{NEWLIB-FTPSITE}@value{NEWLIB-FTPDIR}/@value{NEWLIB-TAR}}
|
||||||
|
@end ifset
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@subheading @value{RTEMS-VERSION}
|
@subheading @value{RTEMS-VERSION}
|
||||||
@@ -105,14 +117,26 @@ specific patches.
|
|||||||
FTP Site: @value{RTEMS-FTPSITE}
|
FTP Site: @value{RTEMS-FTPSITE}
|
||||||
Directory: @value{RTEMS-FTPDIR}
|
Directory: @value{RTEMS-FTPDIR}
|
||||||
File: @value{RTEMS-TAR}
|
File: @value{RTEMS-TAR}
|
||||||
File: bit_ada
|
@ifset use-html
|
||||||
File: hello_world_ada.tgz
|
URL: @href{Download RTEMS components,,,ftp://@value{RTEMS-FTPSITE}@value{RTEMS-FTPDIR}}
|
||||||
|
@end ifset
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@subheading RTEMS Specific Tool Patches
|
@subheading RTEMS Hello World
|
||||||
|
@example
|
||||||
|
FTP Site: @value{RTEMS-FTPSITE}
|
||||||
|
Directory: @value{RTEMS-FTPDIR}
|
||||||
|
File: hello_world_ada.tgz
|
||||||
|
@ifset use-html
|
||||||
|
URL: @href{Download RTEMS Hello World,,,ftp://@value{RTEMS-FTPSITE}@value{RTEMS-FTPDIR}/ada_tools/hello_world_ada.tgz}
|
||||||
|
@end ifset
|
||||||
|
@end example
|
||||||
|
|
||||||
|
@subheading RTEMS Specific Tool Patches and Scripts
|
||||||
@example
|
@example
|
||||||
FTP Site: @value{RTEMS-FTPSITE}
|
FTP Site: @value{RTEMS-FTPSITE}
|
||||||
Directory: @value{RTEMS-FTPDIR}/ada_tools
|
Directory: @value{RTEMS-FTPDIR}/ada_tools
|
||||||
|
File: bit_ada
|
||||||
@ifset BINUTILS-RTEMSPATCH
|
@ifset BINUTILS-RTEMSPATCH
|
||||||
File: @value{BINUTILS-RTEMSPATCH}
|
File: @value{BINUTILS-RTEMSPATCH}
|
||||||
@end ifset
|
@end ifset
|
||||||
@@ -125,15 +149,8 @@ specific patches.
|
|||||||
@ifset GNAT-RTEMSPATCH
|
@ifset GNAT-RTEMSPATCH
|
||||||
File: @value{GNAT-RTEMSPATCH}
|
File: @value{GNAT-RTEMSPATCH}
|
||||||
@end ifset
|
@end ifset
|
||||||
@c Just in case there are ever no patches
|
@ifset use-html
|
||||||
@ifset BINUTILS-RTEMSPATCH
|
URL: @href{Download RTEMS patches,,,ftp://@value{RTEMS-FTPSITE}@value{RTEMS-FTPDIR}/ada_tools}
|
||||||
@ifset GCC-RTEMSPATCH
|
|
||||||
@ifset NEWLIB-RTEMSPATCH
|
|
||||||
@ifset GNAT-RTEMSPATCH
|
|
||||||
No RTEMS specific patches are required.
|
|
||||||
@end ifset
|
|
||||||
@end ifset
|
|
||||||
@end ifset
|
|
||||||
@end ifset
|
@end ifset
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
|
|||||||
@@ -43,9 +43,9 @@ function in a file named @code{f.c}:
|
|||||||
|
|
||||||
@example
|
@example
|
||||||
int f( int x )
|
int f( int x )
|
||||||
{
|
@{
|
||||||
return x + 1;
|
return x + 1;
|
||||||
}
|
@}
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
Then assemble the file using a command similar to the following:
|
Then assemble the file using a command similar to the following:
|
||||||
|
|||||||
Reference in New Issue
Block a user