Problems Making gcc (for sh-elf) under cygwin

ABAZ dillonco@attbi.com
Sat Jan 4 20:31:00 GMT 2003


I cannot build gcc for the sh-elf under cygwin.  I have the binutils ____ and
gcc _____ source (from cygwin).
I run the following commands:

cd /usr/src
CC=/cygdrive/C/cygwin/bin/gcc
host=i686-pc-cygwin
target=sh-1-elf
prefix=/cygdrive/C/gcc
mkdir build-binutils build-gcc
cd build-binutils
../binutils-20021117-1/configure --target=$target --prefix=$prefix -v
make all install
cd ../build-gcc
../gcc-3.2-3/configure --target=$target --prefix=$prefix -v
make all install

Binutils builds fine, gcc doesn't.  GCC build for a very long time (longer than
bin utils) and then exits with:
"configure: error: instilation or configuration problem: C compiler cannot make
executibles."
"make: *** [configure-target-libiberty] Error 1"

What's wrong and how can I fix it?





------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list