Re: compilers that self compile
Joel Baker escreveu isso aí:
> On Thu, Oct 21, 2004 at 03:35:14PM +0200, Christoph Berg wrote:
> > Re: Jeroen van Wolffelaar in <20041020164345.GN18918@A-Eskwadraat.nl>
> > > > * how packages like those go in the repository for the first time?
> > >
> > > By ignoring build-depends while in some way you've made your system to
> > > actually be able to build the package. I.e., you've for example
> > > bootstrapped the compiler. Then you install it locally, and build your
> > > package again, this time the normal way, and you upload it. After it's
> > > in the archive, it's rebuildable by itself.
> > Of course, the bootstrapping has to be done for each architecture
> > again.
> Yes, it will. Which will make those of us porting put your package at
> the very end of the queue of things to be ported, unless something else
> is forcing it higher (in which case, we'll just be very annoyed at the
> package, unless bootstrapping is trivial).
In my case, it is ac++  , an Aspect Weaver that makes
source-to-source translation. This translation is needed in a part of
itself (there are good reasons for that).
My idea is to make a first release with sources already translated
(which can be done with a precompiled binary for i386 distributed by
upstream), which would compile fine with just g++ and libxml2-dev as
build-dependencies. Then, when/if it goes into repository, it will be
possible to compile a second release from untranslated sources, since
ac++ itself will be already available.
I've requested that upstream distribute one version already translated.
.orig.tar.gz has to be officially distributed by upstream to be
considered pristine, hasn't it?
Will this approach make manual porting unnecessary?
Antonio S. de A. Terceiro <firstname.lastname@example.org>
Chave PGP/PGP key -- http://pgp.mit.edu/