X-Authentication-Warning: kendall.sfbr.org: jeffw set sender to jeffw AT darwin DOT sfbr DOT org using -f Date: Mon, 15 Oct 2001 13:21:01 -0500 From: JT Williams To: djgpp AT delorie DOT com Subject: Re: solaris-to-dos cross-compiler Message-ID: <20011015132101.A24002@kendall.sfbr.org> Mail-Followup-To: djgpp AT delorie DOT com References: <20011012122500 DOT A19892 AT kendall DOT sfbr DOT org> <3759-Fri12Oct2001211638+0200-eliz AT is DOT elta DOT co DOT il> <20011015111934 DOT A23876 AT kendall DOT sfbr DOT org> <9qf436$75k$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <9qf436$75k$1@nets3.rz.RWTH-Aachen.DE>; from broeker@physik.rwth-aachen.de on Mon, Oct 15, 2001 at 04:49:42PM +0000 Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk -: You're supposed to *install* the -: cross-binutils into a place where the GCC configure step can find -: them. Either manually, or via 'make install' --- your choice. I've never built the cross-compiler kit before, so I was following the makefile provided in cross/ of djcrx203.zip. That makefile builds both binutils and gcc *before* installing either one, so that's what I was doing. (The makefile was written for gcc-2.7.2 and binutils-2.7; maybe things have changed too much since then). Anyway, after `make install' inside the cross-binutils dir, `make gcc' still has trouble finding (e.g.) `ar'. For example, in the fragment below, `as' is found in /home/.../i386-pc-msdosdjgpp/bin/as, but `ar' is invoked only as `i386-pc-msdosdjgpp-ar', and therefore isn't found. FWIW the top-level cross-binutils configure was invoked as: ./configure --prefix=/home/jeffw/dos/djgpp/x --host=sparc-sun-solaris2.7 \ --target=i386-pc-msdosdjgpp --norecursion -- jtw GNU C version 2.95.3 20010315 (release) (i386-pc-msdosdjgpp) compiled by GNU C version 2.95.3 20010315 (release). /home/jeffw/dos/djgpp/x/i386-pc-msdosdjgpp/bin/as -o dummy.o /var/tmp/cc6XAuda.s i386-pc-msdosdjgpp-ar rc libgcc1.null dummy.o make[2]: i386-pc-msdosdjgpp-ar: Command not found make[2]: *** [libgcc1.null] Error 127 make[2]: Leaving directory `/home/jeffw/dos/djgpp/x/gcc-2.95.3/gcc' make[1]: *** [all-gcc] Error 2 make[1]: Leaving directory `/home/jeffw/dos/djgpp/x/gcc-2.95.3' tail -2 ./gcc-2.95.3/make.out | grep "way to make libgcc1.a" make: *** [gcc] Error 1