Packaging: LDC2

Richard W.M. Jones rjones at redhat.com
Fri Jan 21 21:48:33 UTC 2011


On Fri, Jan 21, 2011 at 09:45:33PM +0100, jonathan MERCIER wrote:
> Hi,
> I try to build ldc2 but i have a litlle problem:
> LDC2 need source file from the garbage collector named druntime
> and druntime for build need a compiler D2 as LDC2
> so how i could package this ?
> 
> can i add druntime in same package as LDC2 ?

You can't directly add this to Fedora yourself, but you can build a
binary of the compiler, get rel-eng to upload it to the buildroot
temporarily, then build both packages from source, then have rel-eng
remove the binary.  This is roughly what we did the first time we
added MinGW:

http://fedoraproject.org/wiki/MinGW/Bootstrapping

Note this process is only required the very first time that MinGW was
added (back in Fedora 7 or 8??).  Since then we have built every
version from source by using the previous version.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top


More information about the devel mailing list