cannot successfully compile gcc - xgcc cannot create executables
John Kozubik
john_kozubik@hotmail.com
Wed Dec 6 01:17:00 GMT 2000
I am trying to build a gcc setup to run on my x86 based freeBSD dev machine
that will let me compile mips-mips-ecoff. Basically just need to compile
and install binutils and gcc with those settings, but I have the following
problems:
./configure --target=mips-mips-ecoff \
--prefix=/usr/home/john/n64-devel/gnu \
--program-prefix="/usr/home/john/n64-devel/gnu/mips-mips-ecoff/bin/" \
--with-headers=/usr/include \
--with-gnu-as --with-gnu-ar --with-gnu-ld
(this config line produces no errors)
make LANGUAGES=c
and it sits there making for about 20 mins, and eventually gets to here and
dies:
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... /usr/home/john/gcc-2.95.2/gcc/xgcc
-B/usr/home/john/gcc-2.95.2/gcc/
-B/usr/home/john/n64-devel/gnu/mips-mips-ecoff/bin/ -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 for strings.h... yes
checking for sys/time.h... yes
checking for sys/resource.h... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether the C compiler (/usr/home/john/gcc-2.95.2/gcc/xgcc
-B/usr/home/john/gcc-2.95.2/gcc/
-B/usr/home/john/n64-devel/gnu/mips-mips-ecoff/bin/ -g -O2 ) works... no
configure: error: installation or configuration problem: C compiler cannot
create executables.
*** Error code 1
Any ideas? the key error is at the end - C compiler cannot create
executables. It is trying to run xgcc with those args ... and
can't, I guess.
I went to that dir and tried to run the new xgcc
(/usr/home/john/gcc-2.95.2/gcc/), and it says 'no input files' so obviously
it does work...so what the heck?
Any ideas appreciated.
--john
_____________________________________________________________________________________
Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
More information about the crossgcc
mailing list