[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] RE: Error building latest pulls from CVS
From: |
Theodore A. Roth |
Subject: |
Re: [avr-gcc-list] RE: Error building latest pulls from CVS |
Date: |
Fri, 27 Sep 2002 22:18:27 -0700 (PDT) |
I don't see anything wrong with the cvs lines. The only thing which looks
suspect to me is the ".../configure". Should that just be "../configure".
Also, you are wasting a lot of bandwidth by pulling the entire cvs tree for
binutils and gcc every time. Better to just do a "cvs update". It took me 4+
hours to do the initial checkout of binutils/gcc/gdb via my modem, but
updates are rather painless.
I have a script for managing cvs updates and rebuilds of all the tools I use
for avr. If you're interested, I'll send you a copy.
BTW: I just finished a complete update and rebuild of all the tools and
didn't get any errors. (ok only a few warnings for avr-libc, but I'm about
to commit the fixes for those)
Ted Roth
On Sat, 28 Sep 2002, J.C. Wren wrote:
:)OK, so I pulled the GCC 3.2 sources, and got even more errors. Am I wrong
:)in thinking that the the binutils-2.13 is what I want? I'm pulling whatever
:)is at the RedHat site, which *claims* to be 2.13. Here's my build script.
:)Perhaps someone can tell me if I should adjust the CVS lines to pull
:)different versions.
:)
:)#!/bin/sh -e
:)
:)export AVRBASE=/usr
:)export PREFIX=$AVRBASE/local/avr
:)export PATH=$PATH:$PREFIX/bin
:)
:)#
:)# Clean out any old stuff
:)#
:)rm -rf /usr/local/avr/*
:)rm -rf binutils-2.13
:)mkdir binutils-2.13
:)rm -rf gcc-3.3
:)mkdir gcc-3.3
:)rm -rf avr-libc
:)mkdir avr-libc
:)
:)#
:)# Build binutils from current source
:)#
:)cd binutils-2.13
:)cvs -z 9 -d :pserver:anoncvs:address@hidden:/cvs/src login
:)cvs -z 9 -d :pserver:address@hidden:/cvs/src co binutils
:)cd src
:)mkdir obj-avr
:)cd obj-avr
:).../configure --prefix=$PREFIX --target=avr --disable-nls
:)make
:)make install
:)cd ../../..
:)
:)#
:)# Build GCC
:)#
:)cd gcc-3.3
:)cvs -z 9 -d :pserver:address@hidden:/cvsroot/gcc co gcc
:)cd gcc
:)mkdir obj-avr
:)cd obj-avr
:).../configure --prefix=$PREFIX --target=avr --enable-languages=c,c++ --disabl
:)e-nls
:)make
:)make install
:)cd ../../..
:)
:)#
:)# Build the libraries
:)#
:)cd avr-libc
:)cvs -d:pserver:address@hidden:/cvsroot/avr-libc co avr-libc
:)cd avr-libc
:)../reconf
:)mkdir obj-avr
:)cd obj-avr
:).../configure --prefix=$PREFIX
:)make
:)make install
:)cd ../../..
:)
:)
:)avr-gcc-list at http://avr1.org
:)
avr-gcc-list at http://avr1.org