Linking error: cannot find crti.o

Iain Buclaw ibuclaw at ubuntu.com
Mon Oct 8 05:18:24 PDT 2012


On 8 October 2012 12:47, Joseph Rushton Wakeling
<joseph.wakeling at webdrake.net> wrote:
> On 10/03/2012 08:59 AM, Johannes Pfau wrote:
>>
>> This guide should more or less be valid for ubuntu as well:
>> http://gdcproject.org/wiki/Raspberry%20Pi/build/Raspbian%28Hardfloat%29
>
>
> Just checking here -- in your guide, you refer to tweaking the
> debian/rules.patch file to remove a line.  The rules.patch that comes with
> gcc 4.7.2 in Ubuntu has the following regarding D:
>
> -------------------------------------------------
> ifeq ($(with_d),yes)
>   debian_patches += \
>        gdc-4.6 \
>        gdc-libphobos-math \
>        gdc-driver-zlib
>
>   ifeq ($(with_libphobos),yes)
>     debian_patches += gdc-libphobos-build
>   else
>     debian_patches += gdc-driver-nophobos
>   endif
>
> else
>   debian_patches += gcc-d-lang
> endif
> -------------------------------------------------
>
> I didn't read this closely enough first time round, but would I be right in
> thinking the whole of this really ought to go, and not just the one line
> relating to gcc-d-lang?

If your installing against gcc-4.7, use the patches provided in gdc
trunk  gcc/d/patches/*-4.7.x


Regards,
-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';


More information about the D.gnu mailing list