Re: athlon-builder ... a sequel to pentium-builder
Robert Bihlmeyer <firstname.lastname@example.org> immo vero scripsit
> Junichi Uekawa <email@example.com> wrote:
> > This thing works in the same way as pentium-builder, just that it
> > uses gcc-3.0 and g++-3.0 instead of the default compiler.
> Hmm, that means that if you build a C++ application with it, that
> links to a C++ library not built with it (i.e. from stock Debian),
> you'll likely experience breakage (cf. past threads about changed g++
> Maybe you should disable the g++ part of it for now.
One of the aims of athlon-optimization is to test g++-3.0,
and checking if binaries will compile with g++-3.0 in an easy way.
Disabling g++-3.0 is defeating the whole point of
> > I was thinking that maybe everything can be rebuilt using Athlon
> > optimization, and I could make a local repository, but I could not
> > think of any way to mark such a package so that it was built for
> > Athlon processors.
> The -march=athlon case, i.e. that your binaries will only work on
> Ahtlon compatibles, is easy: Have all your packages depend on
> "platform-athlon", and offer a dummy package of that name (perhaps
> with dire "installing this package on non-Athlon compatibles will hose
> your system" warnings in the preinst).
Hmm.. that would be interesting.
I could divert dpkg-shlibdeps and make it output
platform-athlon in addition to other things.
I don't know.
It's a gross hack, not very clean.