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] |
Dan: .... and the same exact configure command, when run on non-PPC Linux hosts, works? Hmmm... b.g. On Wed, Aug 21, 2002 at 07:13:01PM -0700, Dan Kegel wrote: > Brett Hunt wrote in gcc-help in May 2002 (highly edited): > > [I'm building a cross-compiler on cygwin targetting x86 linux. > > The build seems to progress fine until it tries to run 'ltconfig' for libstdc++. > > It locks up on "checking whether a program can dlopen itself..." > > This is just one of several places the build script improperly > > tries to run linux programs on windows. Why doesn't it notice I'm > > building a cross-compiler?] > > For his real message, see > http://gcc.gnu.org/ml/gcc-help/2002-05/msg00165.html > > I'm running into the exact same thing (I'm trying to build a ppc405 > cross-compiler, but the problem is the same). For reference, > the cygwin gcc I'm using to build this cross-compiler is "2.95.3-5". > > At first, I thought it was because I invoked configure wrong, as follows: > > ../gcc-3.0.2/configure --target=powerpc-linux --prefix=/opt/hardhat/devkit/ppc/405 --with-headers=/opt/hardhat/devkit/ppc/405/target/usr/include --enable-shared --enable-long-long > --enable-threads=posix --enable-langugages=c,c++ --enable-cxx-flags=-mcpu=403 --with-cpu=403 --nfp > > since the autoconf doc hinted that for cross-compiling, you really need to define > all three of host, build, and target. So I tried > > ../gcc-3.0.2/configure --target=powerpc-linux --host=i686-pc-cygwin --build=i686-pc-cygwin --prefix=/opt/hardhat/devkit/ppc/405 --with-headers=/opt/hardhat/devkit/ppc/405/target/usr/include > --enable-shared --enable-threads=posix --enable-langugages=c,c++ --enable-cxx-flags=-mcpu=403 --with-cpu=403 --nfp > > but got the same result, namely: in several places, configure tries to run > powerpc programs on windows, and I get an error dialog box. Clicking > 'close' each time more or less lets configure procede, though perhaps > because it's confused about whether it's a cross-compile, I don't know > if the result is going to be usable. > > Anyone out there have a clue for me? > > Thanks! > - Dan > > > ------ > Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ > Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com > -- Bill Gatliff bgat@billgatliff.com ------ 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] |