This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: biarch gcc
On Tue, Aug 12, 2003 at 05:46:47PM +0200, Andreas Jaeger wrote:
> Alan Modra <amodra@bigpond.net.au> writes:
>
> [...]
> > Secondly, getting header files right is not so easy. Typically, some 32
> > bit headers are different from the corresponding 64 bit header. It's
> > possible to hack around this problem by creating lots of stubs that test
> > __powerpc64__ and then include the real header, or by using esoteric
> > -isystem gcc options. You also need to deal with patched headers
> > installed by fixincludes, which might get in the way of such hacks.
>
> The Glibc headers for sparc, s390 and x86_64 were written with that in
> mind and do not have any problems that I'm aware of. What problems
> exactly do you have?
On ppc* there are no problems either AFAIK, with the exception of struct utmp
and lastlog, which is stuck because of apps doing direct access to the
files.
Jakub