This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Fri, Jun 15, 2007 at 09:50:42AM +0200, Timo Kerstan wrote:Hello there,
Can anyone tell me how to properly do this?
I tried this http://www.ifp.uiuc.edu/~nakazato/tips/xgcc.html
But it doesn't work using binutils 2.17, gcc 4.1.2 and newlib 1.15.0...
It works for me with a combined tree. Here's exactly how I did:
$ cd ~/src
$ wget http://ftp.download-by.net/gnu/gnu/binutils/ binutils-2.17.tar.bz2 -O - | tar -jxf -
$ wget http://ftp.download-by.net/gnu/gnu/gcc/gcc-4.1.2/gcc- core-4.1.2.tar.bz2 -O - | tar -jxf -
$ wget http://ftp.download-by.net/gnu/gnu/gcc/gcc-4.1.2/gcc-g+ +-4.1.2.tar.bz2 -O - | tar -jxf -
$ wget http://ftp.download-by.net/gnu/gnu/gcc/gcc-4.1.2/gcc- objc-4.1.2.tar.bz2 -O - | tar -jxf -
$ wget ftp://sources.redhat.com/pub/newlib/newlib-1.15.0.tar.gz -O - | tar -zxf -
$ mkdir combined
$ cd combined
$ ln -s ../gcc-4.1.2/* .
$ ln -s ../binutils-2.17/* .
[several complaints from ln about existing links]
$ ln -s ../newlib-1.15.0/* .
[several complaints from ln about existing links]
$ cd ../..
$ mkdir testbuild
$ cd testbuild
$ ../src/combined/configure --target=powerpc-eabi --disable-nls -- with-newlib --prefix=/usr/local/gcc
$ time nice make
[...]
real 132m26.081s user 68m57.928s sys 57m32.501s
-- Rask Ingemann Lambertsen
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |