www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Help around D2 (for make a rpm package)

reply bioinfornatics <bioinfornatics fedoraproject.org> writes:
Hello everyone
I would like add for fedora 16 D2 (now D) in official repository. For this i
need build separately (not a build system who take all):
- a free compiler -> ldc2
- a runtime -> druntime
- a standard library -> phobos

So ldc2 is already packaged but i fail on druntime, see attached file
Currently ldc2 use cmake who take all (compiler druntime and std lib) but i
can not use this way for package it.
I need build ldc2 (done) after with ldc2 build druntime (fail) and finally
with ldc2 and druntime build phobos
for this i have do a fork of druntime using makefile for works with all
compiler: https://github.com/bioinfornatics/druntime

I need your help for finish this.
big thanks
Jun 15 2011
next sibling parent reply Dejan Lekic <dejan.lekic tiscali.co.uk> writes:
We talked about this yesterday on IRC. I successfully built everything 
on my Fedora 15 workstation. Follow the instruction on Wiki and it will 
be OK.
Jun 16 2011
parent reply Moritz Warning <moritzwarning web.de> writes:
On Thu, 16 Jun 2011 09:56:53 +0100, Dejan Lekic wrote:

 We talked about this yesterday on IRC. I successfully built everything
 on my Fedora 15 workstation. Follow the instruction on Wiki and it will
 be OK.

I think these instructions were meant: http://dsource.org/projects/ldc/wiki/BuildInstructionsPhobosDruntimeTrunk They are somewhat hacked together right now and not good enough to create a package.
Jun 16 2011
next sibling parent David Nadlinger <see klickverbot.at> writes:
Reminds me that we really need a good »ldmd2« so that the DMD test 
suite, druntime and Phobos can be seamlessly built with LDC 2 – this 
would also make development quite a bit easier.

Implementing it should be pretty straightforward (besides -lib, which 
requires implementing a tiny driver), but I don't have time to deal with 
it right now – anyone? ;)

David


On 6/16/11 1:33 PM, Moritz Warning wrote:
 On Thu, 16 Jun 2011 09:56:53 +0100, Dejan Lekic wrote:

 We talked about this yesterday on IRC. I successfully built everything
 on my Fedora 15 workstation. Follow the instruction on Wiki and it will
 be OK.

I think these instructions were meant: http://dsource.org/projects/ldc/wiki/BuildInstructionsPhobosDruntimeTrunk They are somewhat hacked together right now and not good enough to create a package.

Jun 16 2011
prev sibling parent bioinfornatics <bioinfornatics fedoraproject.org> writes:
Thanks for all answer :-)

About build system. If you take ldc or dmd (maybe gdc too) all time the build
system include druntime and phobos. For do a package i need build ldc only in
first (with his cmake), secondly build druntime whith makefile (and D2 compiler)
and finally build phobos with drutime and d2 comiler here ldc2
so a total 3 package
ldc2.rpm
drutntime.rpm
phobos.rpm
Jun 17 2011
prev sibling parent Jens Mueller <jens.k.mueller gmx.de> writes:
Dejan Lekic wrote:
 We talked about this yesterday on IRC. I successfully built
 everything on my Fedora 15 workstation. Follow the instruction on
 Wiki and it will be OK.

Which wiki? I found this http://www.dsource.org/projects/ldc/wiki/BuildInstructions But I see no instruction on building RPMs for ldc2. Jens
Jun 16 2011