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]

Problems Making gcc (for sh-elf) under cygwin


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


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