This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: build status for cross builds?
On Sunday 06 January 2002 17:38, Paul Koning wrote:
> Excerpt of message (sent 6 January 2002) by Gerald Pfeifer:
> > On Sat, 5 Jan 2002, mike stump wrote:
> > >> it would be very helpful if those of you who are such magicians
> > >> would take a look at the CrossFAQ and try to merge your knowledge
> > >> into it
> > >
> > > FAQ means you have to actually ask a question. After you do that, and
> > > we answer it, you can then submit a patch to put it in the FAQ.
> >
> > In fact, it probably would be better to merge the CrossGCC-FAQ into the
> > regular GCC documentation and only maintain the latter.
>
> Agreed.
>
> I'm making yet another pass through a bunch of builds, carefully
> documenting and tracking what I'm doing and trying to be as careful as
> I can to dig deep in all the documentation that can be found. Will
> report what I observe.
You might be interested in seeing my build scripts for x86-64 cross
compilation. You can get these via anonymous cvs at www.x86-64.org. They are
a set of scripts that download cvs versions of binutils, gcc, glibc, gdb and
the kernel (we have our own x86-64 cvs kernel tree for development) and a
bunch of packages via ftp. The scripts then compile a cross compilation suite
and finally use this to compile a working environment for x86-64 simulators.
It's my intention to change this into a host and target independent cross
compilation suite. At the moment, I would think that the scripts are very
close to building to other 64 bit architectures, but there are some 64 bit
references that I haven't gotten around to removing yet. No x86-64 specific
parts should be left by now. When I get the script set a bit more cleaned up,
I'll put out a release of it.
Even though this isn't cross compilation documentation, this is a working set
of scripts that produce a working cross compiled environment, so one can see
some of the things you need to do.
I have earlier promised Joseph that I would write the documentation needed
for cross compilation. While I still have it on my TODO list, I'm not sure it
will ever get done. I started looking at it only to find out that what I knew
from x86-64 cross compilation was very inadequate for GCC documentation,
since this needs to deal with a lot more stuff. The x86-64 cross compilation
is very easy compared to other builds. (And then I moved from England to
Denmark which took all my time.) I still don't mind writing some
documentation for cross compilation. At least this could then be used to
expand upon by someone who knows about the missing stuff.
Bo.
--
Bo Thorsen | Praestevejen 4
Free software developer | 5290 Marslev
SuSE Labs | Denmark