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
M;V8N+B\N+B]B=6EL9"]C;W)E+W1H<F5A9"YO"C` ;&1C(#!X,#`P,#`P,#`P
M,&0X9C,X9 HQ(&QD8R`P>#`P,#`P,#`P,#!D.&8Y-3$*,B!L:6)P=&AR96%D
M+G-O+C` ,' P,#`P,#`S-#,Q83!F,V,P"C, ;&1C(#!X,#`P,#`P,#`P,#8V
M8V5C,"!8.#9?-C1487)G971!0DDZ.G)E='5R;DEN07)G*%1Y<&5&=6YC=&EO
M;BD *R`Q- HT(&QD8R`P>#`P,#`P,#`P,#`V-C8X-6( 1'1O1G5N8W1I;VY4
M>7!E*%1Y<&4L(%1Y<&4L(%1Y<&4L(&)O;VPI("L ,C(Q.0HU(&QD8R`P>#`P
M,#`P,#`P,#`V860T.#0 27)4>7!E1G5N8W1I;VXZ.F)U:6QD5'EP92 I("L 
M,S8*-B!L9&, ,' P,#`P,#`P,#`P-C8W9#AA($1T;U)E<V]L=F5&=6YC=&EO
M;BA&=6YC1&5C;&%R871I;VXI("L ,3,X"C< ;&1C(#!X,#`P,#`P,#`P,#8Y
M,C(U,"!$=&]297-O;'9E4W1R=6-T*%-T<G5C=$1E8VQA<F%T:6]N*2`K(#,U
M, HX(&QD8R`P>#`P,#`P,#`P,#`V83$P-C8 4E1424)U:6QD97(Z.E)45$E"
M=6EL9&5R*$%G9W)E9V%T941E8VQA<F%T:6]N*2`K(#<P"CD ;&1C(#!X,#`P
M,#`P,#`P,#8S8C$T92!-;V1U;&4Z.F=E;FUO9'5L96EN9F\H*2`K(#DT"C$P
M(&QD8R`P>#`P,#`P,#`P,#`V,V0V-C, 36]D=6QE.CIG96Y,3%9-36]D=6QE
M*&QL=FTZ.DQ,5DU#;VYT97AT)BP 27(I("L .38S"C$Q(&QD8R`P>#`P,#`P
M,#`P,#`U-F4W8S( ;6%I;B`K(#4U,C(*,3( ;&EB8RYS;RXV(#!X,#`P,#`P
M,S0S,38R,30S9"!?7VQI8F-?<W1A<G1?;6%I;B`K(#(S-PHQ,R!L9&, ,' P
M,#`P,#`P,#`P-3=E8V,U"FUA:V5;,5TZ("HJ*B!;=&AR96%D+F]=($5R<F5U
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