Thread overview
Spec file for gdc?
Sep 19, 2006
Wolfgang Draxinger
Sep 19, 2006
Gregor Richards
Sep 19, 2006
Wolfgang Draxinger
Sep 19, 2006
Gregor Richards
September 19, 2006
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
-- 
E-Mail address works, Jabber: hexarith@jabber.org, ICQ: 134682867 GPG key FP: 2FC8 319E C7D7 1ADC 0408 65C6 05F5 A645 1FD3 BD3E
September 19, 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.
September 19, 2006
Gregor Richards wrote:

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

You are correct. A few months ago I tried to build GDC as a cross compiler but didn't succed. So I'm using the precompiled binaries now.

However building a cross compiler won't help with the include directories issue, for that a spec is needed AFAIK.

BTW 64 bit. Is there already experimental support? I'm beginning to need that, as I want to provide native 64 bit builds of my engine.

Wolfgang Draxinger
-- 
E-Mail address works, Jabber: hexarith@jabber.org, ICQ: 134682867 GPG key FP: 2FC8 319E C7D7 1ADC 0408 65C6 05F5 A645 1FD3 BD3E

September 19, 2006
Wolfgang Draxinger wrote:
> Gregor Richards wrote:
> 
>> Am I correct in assuming that you're using an AMD-64 or EM64T
>> system?
> 
> You are correct. A few months ago I tried to build GDC as a cross
> compiler but didn't succed. So I'm using the precompiled
> binaries now.
> 
> However building a cross compiler won't help with the include
> directories issue, for that a spec is needed AFAIK.

Said spec file is compiled in.  It is not necessary unless you've somehow overridden it.

> 
> BTW 64 bit. Is there already experimental support? I'm beginning
> to need that, as I want to provide native 64 bit builds of my
> engine. 

To be honest, I have no idea, nor do I know if there's even any real porting effort going on.

> 
> Wolfgang Draxinger

 - Gregor Richards