source: rtems/doc/gnu_docs/Tool_Doc_Instructions @ 4684c7c

4.104.114.84.95
Last change on this file since 4684c7c was 4684c7c, checked in by Joel Sherrill <joel.sherrill@…>, on 05/09/00 at 17:54:26

Updated in order to generate a current tool chain documentation set.

  • Property mode set to 100644
File size: 1.2 KB
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 included with the tools
8only support building dvi and info.  So this directory is
9trying to help finish out building the tool documentation.
10
11# Odd Notes:
12#
13# binutils/ld: May have to copy bfdsumm.texi from config/bfd to ld
14# gcc: no rule to build java.dvi
15
16# for binutils, gcc, and gdb
17mkdir doc_build
18cp -r binutils-XXX gcc-XXX gdb-XXX newlib-XXX doc_build
19cd TOOL-XXX
20./configure --target=i386-rtems --prefix=/usr3/tmp/DOCTMP
21make info dvi
22
23# for newlib we have to do the build differently.  It actually needs
24# to be configured and built for an RTEMS target so pick something
25# you have tools installed for.  Hopefully, this will be a target
26# without many multilib variants. The actual target is not relevant
27# since the documentation is always the same.
28
29mkdir b
30cd b
31../newlib-1.8.2/configure --target=i386-rtems --prefix=/usr3/tmp/DOCTMP
32make
33make info dvi
34cd ../newlib-1.8.2
35find newlib/ -name "*.t*" | cpio -pdum ../b/i386-rtems/
36find etc/ -name "*.t*" | cpio -pdum ../b
37
38
39
40
Note: See TracBrowser for help on using the repository browser.