This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
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
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |