[Scons-users] pkg-config support

Russel Winder russel at winder.org.uk
Mon Aug 6 13:59:15 EDT 2018


On Mon, 2018-08-06 at 09:11 -0700, Bill Deegan wrote:
> Is linking binaries build with different D compilers supported? (is the ABI
> well defined)
> 

I haven't had any trouble but…

Debian only supports ldc2 so everything gets compiled with it, and yet, it si
just the one platform, and you still can't trust the .pc files. Trust me on
this. :-)

D is very much in the Rust model: You download the source of packages from the
central repository and compile then for the project – except that there are
some issues that Cargo/Rust has solved but Dub/D has not entirely solved. This
actually militates massively in favour of ignoring pkg-config and getting on
with getting the Dub builder working properly. Indeed Meson now has this
sorted – a push to get it working properly for SCons, but it is just a tool,
not integrated with the SCons core.

On the other hand, Debian at least, not sure about others, do compile
libraries as packages and so there is the facility to use pkg-config, so it
ought to be made to work properly. It isn't good enough to rely on
ParseConfig, because that function is completely C and C++ focused.

-- 
Russel.
===========================================
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20180806/799e669d/attachment.sig>


More information about the Scons-users mailing list