gcc 4.8.1 made it to Debian Sid
eles
eles at eles.com
Thu Jul 18 02:22:22 PDT 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}
More information about the D.gnu
mailing list