GDC build comes with C/C++ ... ?

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Wed Nov 21 08:51:46 PST 2012


On 11/21/2012 05:06 PM, Iain Buclaw wrote:
> cd gcc && make d.install-common;

... falls over with this error:

--------------------------------------------------------------------------------
perl -e 'exit 0;' && /usr/bin/install -c 
../../gcc-snapshot-20121008/src/gcc/d/dmd-script /opt/gdc/bin/gdmd
chmod a+x /opt/gdc/bin/gdc
chmod a+x /opt/gdc/bin/gdmd
if [ -f cc1d ] ; then \
	  if [ -f gdc-cross ] ; then \
	    if [ -d 
/opt/gdc/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/../../../../x86_64-unknown-linux-gnu/bin/. 
] ; then \
	      rm -f 
/opt/gdc/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/../../../../x86_64-unknown-linux-gnu/bin/gdc; 
\
	      rm -f 
/opt/gdc/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/../../../../x86_64-unknown-linux-gnu/bin/gdmd; 
\
	      /usr/bin/install -c gdc-cross 
/opt/gdc/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/../../../../x86_64-unknown-linux-gnu/bin/gdc; 
\
	      perl -e 'exit 0;' && /usr/bin/install -c 
../../gcc-snapshot-20121008/src/gcc/d/dmd-script 
/opt/gdc/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/../../../../x86_64-unknown-linux-gnu/bin/gdmd; 
\
	    else true; fi; \
	  else \
	    rm -f /opt/gdc/bin/-gdc; \
	    rm -f /opt/gdc/bin/-gdmd; \
	    ( cd /opt/gdc/bin && \
	      ln gdc -gdc ); \
	    ( cd /opt/gdc/bin && \
	      ln gdmd -gdmd ); \
	  fi ; \
	fi
ln: invalid option -- 'g'
Try `ln --help' for more information.
ln: invalid option -- 'g'
Try `ln --help' for more information.
make: [d.install-common] Error 1 (ignored)
--------------------------------------------------------------------------------

... although gdc and gdmd are placed in /opt/gdc/bin.  The other commands appear 
to work correctly, but when invoking gdmd I get an error message:

     gdc: error trying to exec 'cc1d': execvp: No such file or directory


More information about the D.gnu mailing list