Date: Fri, 31 Mar 2000 15:30:54 -0500 (EST) From: Lyndon Griffin <lyndon@bsd4us.org> To: freebsd-sparc@freebsd.org Subject: Re: Cross compilation problems Message-ID: <Pine.BSF.4.21.0003311526420.49951-100000@mail.bsd4us.org> In-Reply-To: <20000330212548.A15132@mobile.gerp.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is where I seem to bomb out, as well. Funny - it sounds like this is a very frequent problem, but the Cross-GCC faq says nothing about it. I did try to "skip" the part of the configure script that does this, but I started running into many other issues, so I kinda dropped the ball. I'm kinda thinking that this is always going to fail at this point, and here's my logic: 1) we built a cross compiler to compile netbsd-sparc bins on freebsd-i86 2) the configure script tries to build (and execute?) a binary on i86 using the f-i86 to n-sparc compiler 3) the sparc bin fails, as it can't run on an i86 (or something like that) On Thu, 30 Mar 2000, Kevin M. Dulzo wrote: > After my windy intro, my cross compilation still bombs out in the libio > portion. It really seems to have built the compiler but is dying > someplace later on (not a gcc internals guru). One of the things > that bugs me is the C preprocessor line using /lib/cpp -- that seems > odd. Any suggestions? Anyone successfully build these tools yet? > > -Kevin > > Here is the failure output: > > make all-recursive > Making all in intl > Making all in lib > Making all in makeinfo > (cd intl && make all) > Configuring in sparc-netbsd/libiberty > loading cache ./config.cache > checking host system type... sparc-unknown-netbsd > checking build system type... i386-unknown-freebsdelf > checking for sparc-netbsd-ar... sparc-netbsd-ar > checking for sparc-netbsd-ranlib... sparc-netbsd-ranlib > checking for gcc... /usr/local/sparc-netbsd/src/contrib/gcc/gcc/xgcc -B/usr/local/sparc-netbsd/src/contrib/gcc/gcc/ -B/usr/local/sparc-netbsd/sparc-netbsd/bin/ > checking whether we are using GNU C... yes > checking whether /usr/local/sparc-netbsd/src/contrib/gcc/gcc/xgcc -B/usr/local/sparc-netbsd/src/contrib/gcc/gcc/ -B/usr/local/sparc-netbsd/sparc-netbsd/bin/ accepts -g... yes > checking for POSIXized ISC... no > checking for a BSD compatible install... /usr/bin/install -c > xhost-mkfrag is unchanged > checking how to run the C preprocessor... /lib/cpp > checking for sys/file.h... no > checking for sys/param.h... no > checking for stdlib.h... no > checking for string.h... no > checking for unistd.h... no > checking for strings.h... no > checking for sys/time.h... no > checking for sys/resource.h... no > checking for sys/wait.h that is POSIX.1 compatible... no > checking whether the C compiler (/usr/local/sparc-netbsd/src/contrib/gcc/gcc/xgcc -B/usr/local/sparc-netbsd/src/contrib/gcc/gcc/ -B/usr/local/sparc-netbsd/sparc-netbsd/bin/ -g -O2 ) works... no > configure: error: installation or configuration problem: C compiler cannot create executables. > *** Error code 1 > > Stop in /usr/local/sparc-netbsd/src/contrib/gcc. > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-sparc" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0003311526420.49951-100000>