towards a good embedded userland cross-build system
Robert Schwebel
robert@schwebel.de
Fri Aug 15 08:13:00 GMT 2003
On Thu, Aug 14, 2003 at 04:11:40PM -0700, Dan Kegel wrote:
> Can you give me details about the gcc-3* bugs you think you're seeing?
> I'd like to address them.
With ptxdist-0.3.23: switch on "libio instead of stdio" in glibc; 'make
i386-generic-glibc_config; make world'. On Debian stable (gcc-2.95.4)
this does work, on Debian unstable (gcc-3.3.1) it breaks.
> I've had good luck with gcc-3.3.1 so far. It's good stuff.
> Debian is tripping over its own shoelaces a bit here, I think.
Might be ;)
> Sounds a bit like GAR (http://www.lnx-bbc.org/garchitecture.html).
> Did you look at that one?
Nope, and it's currently not reachable. Maybe power failure ;)
> I'll look at it, but I have a feeling the toolchain build can't
> be expressed as Makefiles properly. What rule would one have
> for /usr/include/stdio.h? That gets installed twice -- once before
> building the bootstrap gcc (I'm not kidding; it's awful), and once
> before building the real gcc.
That's why I have two packets: gcc-stage1 and gcc-stage2, both with the
"usual" targets.
> Yes, of course, even for i386 I would build a fresh cross-compiler; I
> don't want the build machine's local files leaking into the target.
> But I don't know that the toolchain should be built by the same
> machinery that builds everything else. FWIW, one of my users'
> requirements is that they not have to build the toolchain, so I have
> to have a two-step process anyway.
Ok, that's probably a design decision. I currently need to have some
tools on the host first (host compiler, binutils and some others). The
problem how far you want to go with the do-it-yourself methot. I'm not
decided yet.
Robert
--
Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
Pengutronix - Linux Solutions for Science and Industry
Handelsregister: Amtsgericht Hildesheim, HRA 2686
HornemannstraÃe 12, 31137 Hildesheim, Germany
Phone: +49-5121-28619-0 | Fax: +49-5121-28619-4
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list