Cross Tool Chain for Pistachio on PPC

"Christian, Martin, OPEE45" <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.l4ka.general
Message-ID <[email protected]>
Hi,
I was following ppc-build.txt in the documentation notes to build a
cross-gcc on a Cygwin host for the PPC-ELF target. I used the the
gcc-3.4.4 sources from Cygwin (core, g++, objc and testsuit). Binutils
worked fine and is included in PATH. But now I get the following error:

<error>
configure: error: No support for this host/target combination.
make: *** [configure-target-libstdc++-v3] Error 1
</error>

That's what I did:
1.) ../gcc-3.4.4/configure --target=powerpc-elf\
       --enable-languages="c,c++,objc" -- with-gnu-as\
       --with-gnu-ld --prefix=$CROSSTOOL
2.) Changed the makefile accordingly.
3.) make

I know this has something to do with the C++ standard library, which
would actually need knowledge about the OS the properly create the
syscalls. But since I want to build an OS (Pistaccio), I don't need
these anyways. Other tutorials, such as Robert Schiele: "Building and
Using a Cross Development Tool Chain" or IBM's Developer Works tutorial
use a 3-stage compilation.

Ok, I'm confused. But considering gcc is not a small tool, I think it's
ok to be confused.

In hope for some clarity,

Martin.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.