Re: test/D/MixedDAndC/sconstest-dmd.py failing due to picking up wrong CC for linking

Bill Deegan <bill-cJFiu+DHMVC5azolltMz9laTQe2KTcn/@public.gmane.org>
Newsgroups gmane.comp.programming.tools.scons.devel
Message-ID <CAEyG4CGUxn501yga+f8udyHVXN3ov7dhtS7r9NAm3hTfopx_HA@mail.gmail.com>
gcc7 is listed as beta.
gcc6?

-Bill

On Mon, Apr 10, 2017 at 11:34 AM, Russel Winder <[email protected]>
wrote:

> 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:[email protected]
> 41 Buckmaster Road    m: +44 7770 465 077   xmpp: [email protected]
> London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
>

_______________________________________________
Scons-dev mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/scons-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.