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

Bill Deegan bill at baddogconsulting.com
Sun Apr 9 11:21:00 EDT 2017


Take a look at:
https://bitbucket.org/scons/scons/pull-requests/444/more-py2-py3-fixes-some-fixes-to-get-tests/diff

If you add a MacPorts file to /etc/paths.d/  with /opt/local/bin in it. and
set SCONS_USE_MAC_PATHS=1 then it should pick up macports.

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

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

-Bill

On Sun, Apr 9, 2017 at 5:25 AM, Russel Winder <russel at winder.org.uk> wrote:

> On Sat, 2017-04-08 at 11:39 -0400, Bill Deegan wrote:
> > If I create a local dmd.conf with CC=/opt/local/bin/gcc-mp-4.7 the
> > link
> > completes successfully.
> > Seems like macports should do that in /opt/local/etc...
>
> I have installed the gcc7 MacPort, I'm afraid I refuse to go with any
> GCC as ancient as 4.7. ;-)
>
> You shouldn't have to set the dmd.conf in this sort of situation if I
> remember correctly, but I need to get to the stage of having stuff
> break at link time.
>
> --
> 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 --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/scons-dev/attachments/20170409/e4ec4c72/attachment.html>


More information about the Scons-dev mailing list