From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hua Ji To: "'Ian Zhang'" , crossgcc@sourceware.cygnus.com Cc: Hua Ji Subject: RE: Need help to install a cross compiler for powerpc Date: Wed, 17 Jan 2001 23:13:00 -0000 Message-id: X-SW-Source: 2001-01/msg00145.html OK. Attached is my script. Should be very easy for you to copy and modify it for your useage. I have built it successullt with this and tested it my ppc codes. Wish helpful. BTW, you own my lunch now, if you are in silivon valley:--) Hua -------------------------------------------------------- Thanks Hua. But after I put --with-headers as you told me, I got following error when I make all under build-gcc. What other things I need to do ? Thanks. ------------------------------------------------------- ~/gnu_source:207> more crossMake target=powerpc-elf prefix=/export/home4/hji/compilers/powerpc-elf-1-17 mkdir build-binutils build-gcc build-newlib # Configure, build and install binutils cd build-binutils ../binutils-2.9.1/configure --target=$target --prefix=$prefix -v make all install # Configure, build and install gcc cd ../build-gcc ../gcc-2.95.2/configure --target=$target --prefix=$prefix --with-newlib --with-headers=/export/home 4/hji/gnu_source/newlib-1.8.2/newlib/libc/include --with-gnu-as --with-gnu-ld --enable-languages="c" -v make all install #Configure, build and install libc cd ../build-newlib ../newlib-1.8.2/configure --target=$target --prefix=$prefix -v make all install ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hua Ji To: "'Ian Zhang'" , crossgcc@sourceware.cygnus.com Cc: Hua Ji Subject: RE: Need help to install a cross compiler for powerpc Date: Sun, 01 Apr 2001 00:00:00 -0000 Message-ID: X-SW-Source: 2001-q1/msg00145.html Message-ID: <20010401000000.ceqdVe40qFpSS9mne-i8T9qAwkiSZzee2iNR7eA6IVo@z> OK. Attached is my script. Should be very easy for you to copy and modify it for your useage. I have built it successullt with this and tested it my ppc codes. Wish helpful. BTW, you own my lunch now, if you are in silivon valley:--) Hua -------------------------------------------------------- Thanks Hua. But after I put --with-headers as you told me, I got following error when I make all under build-gcc. What other things I need to do ? Thanks. ------------------------------------------------------- ~/gnu_source:207> more crossMake target=powerpc-elf prefix=/export/home4/hji/compilers/powerpc-elf-1-17 mkdir build-binutils build-gcc build-newlib # Configure, build and install binutils cd build-binutils ../binutils-2.9.1/configure --target=$target --prefix=$prefix -v make all install # Configure, build and install gcc cd ../build-gcc ../gcc-2.95.2/configure --target=$target --prefix=$prefix --with-newlib --with-headers=/export/home 4/hji/gnu_source/newlib-1.8.2/newlib/libc/include --with-gnu-as --with-gnu-ld --enable-languages="c" -v make all install #Configure, build and install libc cd ../build-newlib ../newlib-1.8.2/configure --target=$target --prefix=$prefix -v make all install ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com