This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Building g++ Cross Compiler on Cygwin


Hi,

  I've just built a g++ cross-compiler using
gcc-3.2.2/binutils-2.13.2.1/newlib-1.11.0 on Cygwin(Latest) for a SPARC V8.
However, I had to do the following when building the bootstrap compile to
avoid the "XGCC can't create executables" error during the second GCC
compile phase:

# Building bootstrap GCC

cd build-gcc

../$GCCDIR/configure --host=$HOST --target=$TARGET --prefix=$PREFIX -v \

--with-newlib --enable-languages=c++

# Do the following to build libstdc++ correctly ???

cd gcc; make installdirs; cd ..

make all-gcc install-gcc 2>&1 | tee make2.log

cd ..



The line to note is the "cd gcc; make installdirs; cd .. " line. Is there a
cleaner way of doing this, preferable using some configure switch?

Regards Paul


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]