D and SCons [ was Re: bigint <-> python long ]

Johannes Pfau nospam at example.com
Sun Sep 9 01:15:33 PDT 2012


Am Sat, 08 Sep 2012 16:25:49 +0100
schrieb Russel Winder <russel at winder.org.uk>:

> On Sat, 2012-09-08 at 07:20 -0700, Ellery Newcomer wrote:
> […]
> > Okay, here:
> > https://bitbucket.org/ariovistus/deimos-elfutils/overview
> > 
> > I have some code with a working makefile and a nonworking
> > SConstruct file.
> > 
> > I believe the issue is the header files have pragma(lib, X) in
> > them, and a single call to dmd links the appropriate lib in, but
> > scons' link step loses that information.
> > 
> > Do you have any intention of supporting pragma(lib) in scons?
> 
> If that is valid Dv2 and SCons doesn't deal with it then the SCons D
> tools are broken and need fixing.
> 
> Is there a tiny project replicating this that I can turn into a
> unit/system test. The red so caused will necessitate action :-)
> 

Please note that pragma(lib) is an evil feature. For example it will
never work in gdc.



More information about the Digitalmars-d-learn mailing list