Linking error: cannot find crti.o

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Mon Oct 8 04:47:39 PDT 2012


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?


More information about the D.gnu mailing list