Spec file for gdc?

Gregor Richards Richards at codu.org
Tue Sep 19 08:51:03 PDT 2006


Wolfgang Draxinger wrote:
> Currently my scons files have a quite annoying header, that adds
> 
> -m32
> -Wa,--32
> -I /usr/local/include/d/4.0.3
> -I /usr/local/include/d
> -I /usr/local/include/d/4.0.3/i686-pc-linux-gnu
> 
> to all gdc calls. I wondered if somebody is working on a spec
> file to put stuff like that as default into gdc?
> 
> Wolfgang Draxinger

Am I correct in assuming that you're using an AMD-64 or EM64T system?

On such a system, GDC would probably be much happier compiled as a 
cross-compiler than as a native compiler, eg:

../configure --prefix=/opt/gdc-i686 \
   --target=i686-pc-linux-gnu \
   --host=x86_64-pc-linux-gnu

  - Gregor Richards

PS: Not tested, just speculation.



More information about the D.gnu mailing list