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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [doc/] [gnu_docs/] [Tool_Doc_Instructions] - Diff between revs 1026 and 1765

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 1026 Rev 1765
#
#
#  Tool_Doc_Instructions,v 1.4 2002/01/17 21:47:45 joel Exp
#  Tool_Doc_Instructions,v 1.4 2002/01/17 21:47:45 joel Exp
#
#
Apparently, the tool documentation is tough to build without configuring
Apparently, the tool documentation is tough to build without configuring
in the tool source directory.  So you need to do some magic to make
in the tool source directory.  So you need to do some magic to make
this happen.  In addition, the makefiles included with the tools
this happen.  In addition, the makefiles included with the tools
only support building dvi and info.  So this directory is
only support building dvi and info.  So this directory is
trying to help finish out building the tool documentation.
trying to help finish out building the tool documentation.
# Odd Notes:
# Odd Notes:
#
#
# binutils/ld: May have to copy bfdsumm.texi from config/bfd to ld
# binutils/ld: May have to copy bfdsumm.texi from config/bfd to ld
# gcc: no rule to build java.dvi
# gcc: no rule to build java.dvi
# for binutils, gcc, and gdb
# for binutils, gcc, and gdb
mkdir doc_build
mkdir doc_build
cp -r binutils-XXX gcc-XXX gdb-XXX newlib-XXX doc_build
cp -r binutils-XXX gcc-XXX gdb-XXX newlib-XXX doc_build
cd TOOL-XXX
cd TOOL-XXX
./configure --target=i386-rtems --prefix=/usr3/tmp/DOCTMP
./configure --target=i386-rtems --prefix=/usr3/tmp/DOCTMP
make info dvi
make info dvi
# for newlib we have to do the build differently.  It actually needs
# for newlib we have to do the build differently.  It actually needs
# to be configured and built for an RTEMS target so pick something
# to be configured and built for an RTEMS target so pick something
# you have tools installed for.  Hopefully, this will be a target
# you have tools installed for.  Hopefully, this will be a target
# without many multilib variants. The actual target is not relevant
# without many multilib variants. The actual target is not relevant
# since the documentation is always the same.
# since the documentation is always the same.
mkdir b
mkdir b
cd b
cd b
../newlib-1.8.2/configure --target=i386-rtems --prefix=/usr3/tmp/DOCTMP
../newlib-1.8.2/configure --target=i386-rtems --prefix=/usr3/tmp/DOCTMP
make
make
make info dvi
make info dvi
cd ../newlib-1.8.2
cd ../newlib-1.8.2
find newlib/ -name "*.t*" | cpio -pdum ../b/i386-rtems/
find newlib/ -name "*.t*" | cpio -pdum ../b/i386-rtems/
find etc/ -name "*.t*" | cpio -pdum ../b
find etc/ -name "*.t*" | cpio -pdum ../b
cd ../b
cd ../b
# run the script
# run the script
 
 

powered by: WebSVN 2.1.0

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