diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-11-26 21:09:33 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-11-26 21:09:33 +0000 |
commit | f8617e3c353cb181e02cc69d3f7a672eec1772d9 (patch) | |
tree | def9889534c9791b82c21760fcafa78d1d54c0e6 /README | |
parent | 5e35b215d7f0834297d33ac26b443f206db70f47 (diff) |
2008-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* README: Update as trying this on gcc CFARM.
* test_driver: If newlib, binutils or gdb is checked out from CVS
(e.g. source directory is (*-cvs), the update before building.
Diffstat (limited to 'README')
-rw-r--r-- | README | 66 |
1 files changed, 60 insertions, 6 deletions
@@ -15,12 +15,13 @@ You are responsible for setting up the source. And it should look something like this: TESTROOT - - gcc-SOURCE - - gdb-SOURCE - - rtems-SOURCE - - automake-SOURCE - - autoconf-SOURCE - - binutils-SOURCE + - gcc SOURCE directory + - gdb SOURCE directory + - rtems SOURCE directory + - automake SOURCE directory + - autoconf SOURCE directory + - binutils SOURCE directory + - newlib SOURCE directory - gcc-testing (this package) Update gcc-testing/VERSIONS to point to the appropriate directories @@ -29,12 +30,65 @@ and versions. rtems-SOURCE is assumed to be a CVS checkout by test_driver. gcc-SOURCE is assumed to be an SVN checkout by test_driver. +If the binutils, newlib, or gdb directories or of the pattern "*cvs*", +then they will also be updated. + Look near the top of do_one for a number of environment variables such as whether to build binutils and gdb from source or just copy the RPM contents to the working install point. do_one in this directory has a LOT of options to control what to do. +Joel's Attempt to Setup a Tree +============================== +mkdir ~/test-gcc +cd ~/test-gcc +cvs -z 9 -d :pserver:anoncvs@sourceware.org:/cvs/src login +cvs -z 9 -d :pserver:anonymous@www.rtems.org:/usr1/CVS login + +# rtems +cvs -z 9 -d :pserver:anonymous@www.rtems.org:/usr1/CVS co -P rtems + +# binutils +mkdir binutils-cvs +cd binutils-cvs +cvs -z 9 -d :pserver:anoncvs@sourceware.org:/cvs/src co binutils +cd .. + +# newlib +mkdir newlib-cvs +cd newlib-cvs +cvs -z 9 -d :pserver:anoncvs@sourceware.org:/cvs/src co newlib +cd .. + +# gdb +mkdir gdb-cvs +cd gdb-cvs +cvs -z 9 -d :pserver:anoncvs@sourceware.org:/cvs/src co gdb +cd .. + +# gcc +svn checkout svn://gcc.gnu.org/svn/gcc/trunk gcc-svn + +# symlink newlib into gcc-svn +cd gcc-svn +ln -s FULL_PATH/newlib-SOURCE/newlib . +ln -s FULL_PATH/newlib-SOURCE/libgloss . +cd .. + +# obtain automake and autoconf from ftp.gnu.org as tarballs +tar xjf autoconf-XXX.tar.bz2 +tar xjf automake-XXX.tar.bz2 + +# make install points +mkdir install +mkdir bsp-install +mkdir log +========================================= + +Update VERSIONS appropriately + + DejaGNU Support Files ===================== |