This is the flavor of my build instructions (see below), but if code 
sourcery doesnt work then I figured my compiler wouldnt work (I have not 
built one in a bit as you can see from the binutils/gcc versions).  Was 
looking for one that does build prex.  Does your compiler build prex 
(arm-integrator-nommu, or arm-gba)?  Maybe I will try again today.

Thanks,
David


For ubuntu you will need at least these items

apt-get install flex bison autoconf texinfo build-essential
apt-get install libgmp3-dev libmpfr-dev

wget ftp://ftp.gnu.org/gnu/binutils/binutils-2.19.1.tar.bz2
wget ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.0/gcc-core-4.4.0.tar.bz2

cd /
mkdir arm-none-eabi
cd arm-none-eabi
mkdir bin
PATH=/arm-none-eabi/bin:$PATH
ZZZ='--target=arm-none-eabi --prefix=/arm-none-ebi'


tar xjvf binutils-2.19.1.tar.gz
cd binutils-2.14
mkdir build
cd build
../configure $ZZZ
make all install

Currently binutils-2.19.1 fails for me with:
cc1: warnings being treated as errors
../../gas/config/tc-arm.c: In function ‘s_arm_unwind_save_mmxwr’:
../../gas/config/tc-arm.c:3459: error: format not a string literal and 
no format arguments
../../gas/config/tc-arm.c:3473: error: format not a string literal and 
no format arguments
../../gas/config/tc-arm.c: In function ‘s_arm_unwind_save_mmxwcg’:
../../gas/config/tc-arm.c:3591: error: format not a string literal and 
no format arguments
../../gas/config/tc-arm.c:3606: error: format not a string literal and 
no format arguments
../../gas/config/tc-arm.c: In function ‘s_arm_unwind_movsp’:
../../gas/config/tc-arm.c:3712: error: format not a string literal and 
no format arguments

for the lines it complains about
change from:
as_bad (_(reg_someting));
change to:
as_bad ("%s",_(reg_something));

make all install



tar xjvf gcc-core-4.4.0.tar.bz2
cd gcc-4.4.0
mkdir build
cd build
../configure $ZZZ --disable-libssp
make all-gcc install-gcc


David Given wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 03/01/10 17:46, David Welch wrote:
> [...]
>> I am definitely interested in your gcc 4.x based cross toolchain build 
>> instructions for arm.
> 
> I've got some here:
> 
> http://www.cowlark.com/2009-07-04-building-gcc/
> 
> ...dating from the last time I had to do this. It's annoyingly hard.
> 
> I believe that there are a few minor typos in the instructions --- if
> you notice any, let me know and I'll correct them. The actual *logic* to
> the instructions should work.
> 
> - -- 
> ┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
> │
> │ "Sufficiently advanced incompetence is indistinguishable from
> │ malice." -- Vernon Schryver
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAktA/dsACgkQf9E0noFvlzjfzQCffJiBy1Q1PvIOeDnD8FJb6X+1
> r2oAnjS8umdG5yLtXL+9EEd2zW66Nx7L
> =GGxt
> -----END PGP SIGNATURE-----
> 
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev 
> _______________________________________________
> Prex-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/prex-devel


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Prex-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/prex-devel

Reply via email to