avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] RE: Error building latest pulls from CVS


From: J.C. Wren
Subject: [avr-gcc-list] RE: Error building latest pulls from CVS
Date: Sat, 28 Sep 2002 00:14:28 -0400

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]