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] |
Other format: | [Raw text] |
Hi folks, Has anyone had any success compiling GCC3.3.1,3.4-20030813 and gcc-3.3-20030811 for arm-elf under cygwin. I can compile 3.2.3 successfully with the following script: echo Setup Completed echo Starting Binutils cd $src_root/BUILD/binutils && \rm -rf * ../../$binutilsver/configure \ --with-included-gettext --enable-interwork --with-cpu=arm7tdmi \ --target=$target --host=$host --build=$build --enable-multilib -disable-shared \ --prefix=$prefix -v > ../logs/$target-$binutilsver-configure.log 2>&1 if [ $? != 0 ] then exit fi # Make Binutils make -w all install > ../logs/$target-$binutilsver-make.log 2>&1 if [ $? != 0 ] then exit fi echo Binutils Completed echo Starting Gcc $gccver cd $src_root/BUILD/gcc && rm -rf * echo Configure and make bootstrap compiler ac_cv_func_mempcpy=no $src_root/$gccver/configure \ --with-newlib --without-headers --with-gnu-as --with-gnu-ld --enable-win32-registry \ --target=$target --prefix=$prefix --exec-prefix=$prefix --host=$host \ --enable-multilib --enable-interwork --disable-shared --enable-languages=c > ../logs/$target-$gccver-bootconf.log 2>&1 if [ $? != 0 ] then exit fi make all-gcc install-gcc > ../logs/$target-$gccver-bootmake.log 2>&1 if [ $? != 0] then exit fi echo Configure and make newlib cd $src_root/BUILD/newlib $src_root/$newlibver/configure --target=$target --prefix=$prefix > ../logs/$target-$newlibver-conf.log 2>&1 if [ $? != 0] then exit fi make all install > ../logs/$target-$newlibver-make.log 2>&1 if [ $? != 0] then exit fi cd $src_root/BUILD/gcc && rm -rf * echo Configure and make full compiler ac_cv_func_mempcpy=no $src_root/$gccver/configure \ --enable-languages=c,c++ \ --target=$target --host=$host --build=$build --enable-win32-registry \ --with-newlib \ --prefix=$prefix \ --exec-prefix=$prefix \ --enable-multilib --enable-interwork \ --with-gnu-as --with-gnu-ld -v > ../logs/$target-$gccver-fullconf.log 2>&1 if [ $? != 0] then exit fi make -w all-gcc install-gcc > ../logs/$target-$gccver-fullmake.log 2>&1 if [ $? != 0] then exit fi echo Gcc $gccver Completed with Binutils vers: 2.13.2 and 2.14. I have tried applying the patch as suggested by Dan Kegel at http://kegel.com/crosstool/current/gcc-3.4-20030813-patches/gcc-3.4-without-headers.patch for 3.4 but no luck. 3.4 fail with the following error: /usr/local/src/gnu/BUILD/gcc/gcc/include/time.h:12: error: conflicting types for 'clock_t' /usr/local/src/gnu/gcc-3.4-20030813/newlib/libc/include/sys/types.h:94: error: p revious declaration of 'clock_t' 3.3 fails with: cp: cannot create regular file `/cygdrive/c/adi/arm/lib/gcc-lib/arm-elf/3.3.2/in stall-tools/_inst.1748_': No such file or directory Any ideas? Thanks, Dave -- http://www.iol.ie ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |