July 18, 2013
On Friday, 5 July 2013 at 16:35:26 UTC, Joseph Rushton Wakeling wrote:
> On 07/05/2013 04:40 PM, eles wrote:
>> On Friday, 5 July 2013 at 13:45:30 UTC, Joseph Rushton Wakeling wrote:
>>> On 07/05/2013 03:34 PM, eles wrote:

I turned the instructions below in (quite-)general scripts:

> Then:
>
>     cd $(GDCDIR)/dev
>     ./setup-gcc.sh ../gcc-4.8.1
>     mkdir ../objdir
>     cd ../objdir
>     ../gcc-4.8.1/configure --enable-languages=d --disable-multilib
> --enable-checking=release --prefix=/opt/gdc
>     make   [ with -j for as many processors as you can spare, it helps! ]

$cat gdc-initialcompile.sh
#!/bin/bash

CRTDIR=`pwd`
cd ${GDC_GDCSRC}
./setup-gcc.sh ${GDC_GCCSRC}
mkdir -p ${GDC_OBJDIR}
cd ${GDC_OBJDIR}
${GDC_GCCSRC}/configure --enable-languages=c,c++,d --disable-bootstrap --enable-checking=release --prefix=/usr
make -j8
sudo make install
cd ${CRTDIR}

> With the above done, if I pull in any updates from GDC master, I can rebuild as
> follows:
>
>     cd $(GDCDIR)/dev
>     ./setup-gcc.sh --update ../gcc-4.8.1
>     cd ../objdir
>     make    [ still use -j as many processors as you can :-) ]
>

$cat gdc-updatecompile.sh
#!/bin/bash

CRTDIR=`pwd`
cd ${GDC_GDCSRC}
./setup-gcc.sh --update ${GDC_GCCSRC}
mkdir -p ${GDC_OBJDIR}
cd ${GDC_OBJDIR}
make -j 8
sudo make install
cd ${CRTDIR}
July 19, 2013
On Fri, Jul 19, 2013 at 10:53:27AM +0200, eles wrote:
> On Thursday, 18 July 2013 at 17:10:10 UTC, H. S. Teoh wrote:
> >On Thu, Jul 18, 2013 at 10:22:14AM +0200, eles wrote:
> >>On Thursday, 11 July 2013 at 14:42:09 UTC, H. S. Teoh wrote:
> >>>On Thu, Jul 11, 2013 at 08:09:33AM +0100, Iain Buclaw wrote:
> >>>>On Jul 11, 2013 1:28 AM, "H. S. Teoh" <hsteoh@quickfur.ath.cx>
> >I think you have to fork my fork in order to make a pull, I don't know if github supports pull requests to a different fork of the main repo.
> 
> I did try that, but it forks the original repo instead.

Oh.


> I think, in the theory, only Iain could be able to integrate your (and mine) pull requests into his repository.

Really? That's kinda... pointless, isn't it? 'cos why would my fork page have the "pull requests" tab?


> What about you getting the keys of the main gdmd repo and move there the D-port of gdmd?
> 
> You already did tremendous amount of work, to the point that the old
> version of gdmd (the Perl script) could be already dropped (or kept
> for historical reasons).

Not really, there are still some dmd options that dmd-script supports, but gdmd.d doesn't yet.


T

-- 
Everybody talks about it, but nobody does anything about it!  -- Mark Twain
July 19, 2013
> 
> 
> > I think, in the theory, only Iain could be able to integrate your (and mine) pull requests into his repository.
> 
> Really? That's kinda... pointless, isn't it? 'cos why would my fork page have the "pull requests" tab?

If you click "pull request" or "compare" on github there should be a
bar here:
http://i.imgur.com/x3BJpeH.png

Click edit. Now you can select target repository, target branch, source repository and source branch. (This is with the new github interface)
July 19, 2013
On 19 July 2013 20:05, H. S. Teoh <hsteoh@quickfur.ath.cx> wrote:
> On Fri, Jul 19, 2013 at 10:53:27AM +0200, eles wrote:
>> On Thursday, 18 July 2013 at 17:10:10 UTC, H. S. Teoh wrote:
>> >On Thu, Jul 18, 2013 at 10:22:14AM +0200, eles wrote:
>> >>On Thursday, 11 July 2013 at 14:42:09 UTC, H. S. Teoh wrote:
>> >>>On Thu, Jul 11, 2013 at 08:09:33AM +0100, Iain Buclaw wrote:
>> >>>>On Jul 11, 2013 1:28 AM, "H. S. Teoh" <hsteoh@quickfur.ath.cx>
>> >I think you have to fork my fork in order to make a pull, I don't know if github supports pull requests to a different fork of the main repo.
>>
>> I did try that, but it forks the original repo instead.
>
> Oh.
>
>
>> I think, in the theory, only Iain could be able to integrate your (and mine) pull requests into his repository.
>
> Really? That's kinda... pointless, isn't it? 'cos why would my fork page have the "pull requests" tab?
>
>
>> What about you getting the keys of the main gdmd repo and move there the D-port of gdmd?
>>
>> You already did tremendous amount of work, to the point that the old
>> version of gdmd (the Perl script) could be already dropped (or kept
>> for historical reasons).
>
> Not really, there are still some dmd options that dmd-script supports, but gdmd.d doesn't yet.
>
>
> T
>

So are you two guys axeoth and quickfur?


--
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';
July 19, 2013
On Friday, 19 July 2013 at 19:35:21 UTC, Johannes Pfau wrote:
> Click edit. Now you can select target repository, target branch, source
> repository and source branch. (This is with the new github interface)

Wow! It worked! Many thanks!

Here's the result:

https://github.com/quickfur/GDMD/pull/1/files
July 22, 2013
On Friday, 19 July 2013 at 19:06:41 UTC, H. S. Teoh wrote:
> On Fri, Jul 19, 2013 at 10:53:27AM +0200, eles wrote:
>> On Thursday, 18 July 2013 at 17:10:10 UTC, H. S. Teoh wrote:
>> >On Thu, Jul 18, 2013 at 10:22:14AM +0200, eles wrote:
>> >>On Thursday, 11 July 2013 at 14:42:09 UTC, H. S. Teoh wrote:
>> >>>On Thu, Jul 11, 2013 at 08:09:33AM +0100, Iain Buclaw wrote:
>> >>>>On Jul 11, 2013 1:28 AM, "H. S. Teoh"
>
> Not really, there are still some dmd options that dmd-script supports,
> but gdmd.d doesn't yet.

Do you mind making a list of those (here) and suggest how to distribute those between us?

This will avoid duplicate work and will allow us keeping some focus.

BTW: I think it is better to start a new thread, maybe: "gdmd port"
July 31, 2013
On 07/19/2013 09:05 PM, H. S. Teoh wrote:
> Not really, there are still some dmd options that dmd-script supports, but gdmd.d doesn't yet.

On that note, is there a reason not to use std.getopt for the option parsing? Perhaps that it doesn't support single-hyphen option flags of more than one character, such as dmd uses?
1 2 3 4 5
Next ›   Last »