Hi,
It's been rumoured that Andreas Jaeger said:
>
> >>>>> Linas Vepstas writes:
>
> > I've been working on a port of gcc/binutils/glibc to a new
> > architecture, the IBM mainframe 360/370/390 architecture. I've got
> > something sort of working and need some advice & pointers. Long list
> > follows:
>
> > 1) where are the latest gcc sources? I'm working on gcc-2.8.1
> Check egcs from http://egcs.cygnus.com
OK, but where are the latest patches to gcc-2.8.1 ? Im looking for
2.8.1.0.xx whatever xx is, or even gcc-2.8.2 if that exists.
Is the machine description language the same for egcs and gcc?
what about the macros?
I really don't want to bite off more work porting to egcs, the project
is already way too complex.
> > 5) who owns crt0.o? the kernel? libc ? it seems not to be part of
> > binutils or gcc.
>
> > 6) what's the best way to bootstrap an elf loader? In particular,
> > say I wanted to write something that will load and run elf binaries
> > (that have been linked to glibc) on MVS. What's the quickest way to
> > hack this up?
>
> > 7) I'm trying to cross-compile glibc-2.0.6 but the cross-compiler
> Please explain this in more detail. The last cross compile I did was
> the test release 2.0.95 of glibc 2.1 and it worked.
OK, I'll try a newer glibc.
--linas
Extra credit: anyone care to clue me in on how to implement 64-bit support
in the machine description file of a machine that only has 32-bit int math?
The current i370.md confuses 64-bit floats which the machine supports, with
64-bit ints, which the machine does not and thus its a real ugly mess.
In particular, will any patches for gcc be portable to egcs?
--linas