Not sure whether you followed the matter re Xcode, but a quick summary:
1. Do not use some old mismatching versions (somebody suggested that earlier, I recall – that is wrong). The right version is 3.2.6.
2. Official release will install, but won’t work, since quite a number of components are Intel-only. This also concerns Unix tools which it installs.
3. If you intend to use Xcode on its own, without a package manager, you will need to rebuild from source or at least replace with versions from 10a190 a lot of stuff. Building from source can be partly done with Darwinbuild, but it is still pretty painful and will require a lot of manual work. A lazy solution would be to install 10a190 on a small partition and just pull over needed stuff from there on the go.
4. If you use a package manager, largely broken stuff can be just functionally replaced by ports. I did not even bother with flex and bison on my current system, for example, because ports got newer and better versions which work as drop-ins. You still will require a few basic components initially, otherwise you can’t compile a package manager to begin with.
5. If you use my ports, follow this:
https://macos-powerpc.org/installation.html