OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [doc/] [gnu_docs/] [Tool_Doc_Instructions] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
#
2
#  Tool_Doc_Instructions,v 1.4 2002/01/17 21:47:45 joel Exp
3
#
4
 
5
Apparently, the tool documentation is tough to build without configuring
6
in the tool source directory.  So you need to do some magic to make
7
this happen.  In addition, the makefiles included with the tools
8
only support building dvi and info.  So this directory is
9
trying 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
17
mkdir doc_build
18
cp -r binutils-XXX gcc-XXX gdb-XXX newlib-XXX doc_build
19
cd TOOL-XXX
20
./configure --target=i386-rtems --prefix=/usr3/tmp/DOCTMP
21
make 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
 
29
mkdir b
30
cd b
31
../newlib-1.8.2/configure --target=i386-rtems --prefix=/usr3/tmp/DOCTMP
32
make
33
make info dvi
34
cd ../newlib-1.8.2
35
find newlib/ -name "*.t*" | cpio -pdum ../b/i386-rtems/
36
find etc/ -name "*.t*" | cpio -pdum ../b
37
cd ../b
38
# run the script
39
 
40
 
41
 
42
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.