source: rtems/doc/gnu_docs/Tool_Doc_Instructions @ fb02e4c4

4.104.114.84.95
Last change on this file since fb02e4c4 was fb02e4c4, checked in by Joel Sherrill <joel.sherrill@…>, on 10/13/99 at 17:30:50

First commit of miscellaneous tools and documentation for a procedure
that can be used to produce an online bookshelf of the GNU tools.

  • Property mode set to 100644
File size: 771 bytes
Line 
1#
2#  $Id$
3#
4
5Apparently, the tool documentation is tough to build without configuring
6in the tool source directory.  So you need to do some magic to make
7this happen.  In addition, the makefiles only support building dvi
8and info.
9
10mkdir doc_build
11cp -r binutils-XXX gcc-XXX gdb-XXX newlib-XXX doc_build
12
13# for each tool
14cd binutils-XXX
15./configure --target=i386-rtems --prefix=/usr3/tmp/DOCTMP
16make info dvi
17
18# for newlib we have to do the build differently
19mkdir b
20cd b
21../newlib-1.8.2/./configure --target=i386-rtems --prefix=/usr3/tmp/DOCTMP
22make
23make info dvi
24cd ../newlib-1.8.2
25find newlib/ -name "*.t*" | cpio -pdum ../b/i386-rtems/
26find etc/ -name "*.t*" | cpio -pdum ../b
27
28
29NOTE: The actual target is not relevant since the documentation is
30always the same.
31
32
Note: See TracBrowser for help on using the repository browser.