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] |
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: (note - I have the freeBSD included x86 <--> x86 environment running just fine) Anyway, I did the following: download binutils, since I want to remake them for r44k: ./configure --target=mips-mips-ecoff --prefix=/usr/home/john/n64-devel/gnu --with-gas make make install WORKED PEFECTLY. ok now I just have to do gcc: ./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 quick explanation: --program-prefix is there because by default it will use the normal ar, ln, as, which are not suitable for creating the gcc for mips (it was trying to use normal ar with a -G argument which is only present in the ar I built from binutils using the mips-mips-ecoff configure line) --with-headers is there because it did not know where headers were - they are already on my base freeBSD system in /usr/include so I configure it with _no errors_ with that config line. Then I run: 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
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |