GDC svn: Updated to 1.024 / 2.008

nobody nobody at impossible.de
Mon Mar 10 05:05:49 PDT 2008


Thank you for your advice, i must change my notes ;-)
All compiles and run fine.


David Friedman Wrote:

> The library is meant to be built as part of GCC.  If you want to build 
> it separately, you will need to take some extra steps.  First, you will 
> probably need to change
> 
> 	GDC=`echo $CC | sed s/xgcc/gdc/`
> 
> in the configure script to something like
> 
> 	GDC=`which gdc`
> 
> I would also look at the config.status generated by the full GDC build 
> to see what kinds of arguments you need to pass to the configure script.
> 
> David
> 
> nobody wrote:
> > David Friedman Wrote:
> > 
> >> Subversion updated to DMD 1.024 / 2.008.
> >>
> >> David
> > 
> > Hello,
> > 
> > i have checkout the new version from SVN with
> > svn co https://dgcc.svn.sourceforge.net/svnroot/dgcc dgcc
> > 
> > I build succsesfully the gdc, but the libphobos library make problems:
> >  ~/D/gcc-4.1.2/libphobos./configure --prefix=/usr/local/gcc-4.1.2
> > 
> > checking build system type... i686-pc-linux-gnu
> > checking host system type... i686-pc-linux-gnu
> > checking target system type... i686-pc-linux-gnu
> > checking for a BSD-compatible install... /usr/bin/install -c
> > checking whether build environment is sane... yes
> > checking for gawk... no
> > checking for mawk... mawk
> > checking whether make sets $(MAKE)... yes
> > checking for gcc... gcc
> > checking for C compiler default output file name... a.out
> > checking whether the C compiler works... yes
> > checking whether we are cross compiling... yes
> > checking for suffix of executables...
> > checking for suffix of object files... o
> > checking whether we are using the GNU C compiler... yes
> > checking whether gcc accepts -g... yes
> > checking for gcc option to accept ANSI C... none needed
> > checking for g++... g++
> > checking whether we are using the GNU C++ compiler... yes
> > checking whether g++ accepts -g... yes
> > checking for ranlib... ranlib
> > checking for a BSD-compatible install... /usr/bin/install -c
> > checking whether make sets $(MAKE)... (cached) yes
> > checking If gcc can compile D sources... gcc: spec failure: unrecognized spec option 'N'
> > actest.d:0: error: bad value (generic) for -mtune= switch
> > no
> > configure: error: can't compile D sources!
> > 



More information about the D.gnu mailing list