[Scons-dev] test/D/MixedDAndC/sconstest-dmd.py failing due to picking up wrong CC for linking

Russel Winder russel at winder.org.uk
Mon Apr 10 14:34:44 EDT 2017


On Sun, 2017-04-09 at 11:21 -0400, Bill Deegan wrote:
> Take a look at:
> https://bitbucket.org/scons/scons/pull-requests/444/more-py2-py3-fixe
> s-some-fixes-to-get-tests/diff
> 
> If you add a MacPorts file to /etc/paths.d/  with /opt/local/bin in
> it. and

This is not a good strategy I blieve since /etc/path always precedes
/etc/path.d/*, much better to edit /etc/paths to put the MacPorts paths
earlier than the standard paths.

> set SCONS_USE_MAC_PATHS=1 then it should pick up macports.

I'll give it a go. But tomorrow.

> I only see gcc5 as the newest via port search gcc.

I spotted the later email, so gcc7 it is. :-)

> I have gcc47 installed. Likely as a prereq for some other build.
> (Maybe dmd?)

I wouldn't have thought so. You need an existing D compiler to compile
the recent DMD/LDC frontends (GDC isn't as up to date) but the backend
just needs a C++ compiler so GCC7 should suffice.

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
-------------- 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://pairlist2.pair.net/pipermail/scons-dev/attachments/20170410/7901e9a6/attachment-0001.pgp>


More information about the Scons-dev mailing list