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
begin 644 log
M)"!M86ME"D)U:6QD:6YG(&-O<F4*;6%K92`M0R!C;W)E(&)U:6QD"FUA:V5;
M,5T .B!O;B!E;G1R92!D86YS(&QE('+#J7!E<G1O:7)E(,*K("]H;VUE+VIO
M;F%T:&%N+U!R;VIE=',O9')U;G1I;64O<W)C+V-O<F4 PKL*;&1C("UD("UG
M("U/,R`M;W` +6EN;&EN92`M<F5L96%S92`M8R`M<F5L;V-A=&EO;BUM;V1E
M;#UP:6, +4DN+B\ =&AR96%D+F0 +4AD+BXO+BXO:6YC;'5D92]C;W)E+R`M


















E<B!D92!S96=M96YT871I;VX *&-O<F4 9'5M<"!C<L.IPZDI" ``
`
end
Jun 15 2011
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
next 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
prev sibling 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