This is the mail archive of the gcc-bugs@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]

Trouble building egcs cross compilers for m68k-coff and i960-coff





I am trying to build an egcs cross compiler using egcs-1.1.2 and 
binutils-2.9.1. My host platform is sunos.  The 3 targets that I am trying
to build are:

ppc-elf
m68k-coff
i960-coff

I am able to successfully build the ppc-elf target, but I am encountering 
egcs build errors for the m68k-coff and i960-coff targets. I have included 
the exact steps that I used to build the compiler, as well as the error
message that I am seeing when building both the m68k-coff and i960-coff
cross compiler. 


Any light that you can shed on this would be greatly appreciated.


Thanks,
Sue Veitch
email suev@amc.com

-------------------------- PPC-ELF ---------------------------------------

cd /Apps/Unix/Compilers/egcs/EGCS-1.1.2-ppc

../binutils-2.9.1/configure --prefix=/Apps/Unix/Compilers/egcs/EGCS-1.1.2-ppc 
--host=sun4  --target=ppc-elf

make
make install


 ../egcs-1.1.2/configure --prefix=/Apps/Unix/Compilers/egcs/EGCS-1.1.2-ppc 
--host=sun4 --target=ppc-elf --enable-languages=c++ 
--with-headers=/Apps/Unix/Compilers/cygnus/gnupro-98r1/H-sparc-sun-solaris2.5/powerpc-eabi/include
--with-libs=/Apps/Unix/Compilers/cygnus/gnupro-98r1/H-sparc-sun-solaris2.5/powerpc-eabi-coff/lib

/usr/gnu/bin/make cross 
/usr/gnu/bin/make install LANGUAGES="c c++"


------------------------------ m68k-coff ---------------------------------


cd /Apps/Unix/Compilers/egcs/EGCS-1.1.2-m68k
 
../binutils-2.9.1/configure --prefix=/Apps/Unix/Compilers/egcs/EGCS-1.1.2-m68k
--host=sun4  --target=m68k-coff
 
make
make install
 
 
 ../egcs-1.1.2/configure --prefix=/Apps/Unix/Compilers/egcs/EGCS-1.1.2-m68k
--host=sun4 --target=m68k-coff --enable-languages=c++
--with-headers=/Apps/Unix/Compilers/cygnus/gnupro-98r1/H-sparc-sun-solaris2.5/m68k-coff/include
--with-libs=/Apps/Unix/Compilers/cygnus/gnupro-98r1/H-sparc-sun-solaris2.5/m68k-coff/lib
 
/usr/gnu/bin/make cross


               >>>>>>>  the following error is reported   <<<<<<<<<


-B/auto/net/redmond/Apps/Unix/Compilers/egcs/EGCS-1.1.2-m68k/gcc/ accepts -g... yes
checking for POSIXized ISC... no
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... /auto/net/redmond/Apps/Unix/Compilers/
egcs/EGCS-1.1.2-m68k/gcc/xgcc -B/auto/net/redmond/Apps/Unix/Compilers/egcs/EGCS-1.1.2-m68k/gcc/ -E
checking for sys/file.h... yes
checking for sys/param.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for unistd.h... yes
checking whether the C compiler (/auto/net/redmond/Apps/Unix/Compilers/egcs/EGCS
-1.1.2-m68k/gcc/xgcc -B/auto/net/redmond/Apps/Unix/Compilers/egcs/EGCS-1.1.2-m68k/gcc/ -g
-O2 ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
make[1]: *** [configure-target-libiberty] Error 1
make[1]: Leaving directory `/auto/net/redmond/Apps/Unix/Compilers/egcs/EGCS-1.1.2-m68k'


------------------------------ i960-coff ---------------------------------

cd /Apps/Unix/Compilers/egcs/EGCS-1.1.2-i960
 
../binutils-2.9.1/configure --prefix=/Apps/Unix/Compilers/egcs/EGCS-1.1.2-i960
--host=sun4  --target=i960-coff
 
make
make install
 
 
 ../egcs-1.1.2/configure --prefix=/Apps/Unix/Compilers/egcs/EGCS-1.1.2-i960
--host=sun4 --target=i960-coff --enable-languages=c++
--with-headers=/Apps/Unix/Compilers/cygnus/gnupro-98r1/H-sparc-sun-solaris2.5/i960-coff/include
--with-libs=/Apps/Unix/Compilers/cygnus/gnupro-98r1/H-sparc-sun-solaris2.5/i960-coff/lib
 
/usr/gnu/bin/make cross

               >>>>>>>  the following error is reported   <<<<<<<<<
 
 
-B/auto/net/redmond/Apps/Unix/Compilers/egcs/EGCS-1.1.2-i960/gcc/ accepts -g...
yes
checking for POSIXized ISC... no
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... /auto/net/redmond/Apps/Unix/Compilers/
egcs/EGCS-1.1.2-i960/gcc/xgcc -B/auto/net/redmond/Apps/Unix/Compilers/egcs/EGCS-1.1.2-i960/gcc/ -E
checking for sys/file.h... yes
checking for sys/param.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for unistd.h... yes
checking whether the C compiler (/auto/net/redmond/Apps/Unix/Compilers/egcs/EGCS-1.1.2-i960/gcc/xgcc -B/auto/net/redmond/Apps/Unix/Compilers/egcs/EGCS-1.1.2-i960/gcc/ -g -O2 ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
make[1]: *** [configure-target-libiberty] Error 1
make[1]: Leaving directory `/auto/net/redmond/Apps/Unix/Compilers/egcs/EGCS-1.1.2-i960

---------------------------------------------------------------------------
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]