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

Russel Winder <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.devel
Message-ID <[email protected]>
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
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEETwDs1X+Beyaiaer41L3V0s7Np7gFAljr0EUACgkQ1L3V0s7N
p7impA/8DQz+NUrnVkccrpwivTrL0Dk7v7CHQYik9/FrL+s5GLmA/RZC9v0Aoqst
fjFxxej14EVYfvRi/Cz1cmrzmcdFVvoXCgH2al9scyHFR41aeYweitJjAzCD2t7y
3op/lZ/y5Spw1myO95apc4Y4Sgl1xsnMOqessGBLP4i0hjArPtA0EiZR6U3l2anH
xgh5rq1hAzC69HKLwEOjGm2dAGSXtzlmR02zpN5qWt021eFMbp7/6KddUReA83Rz
5Egth6sUhmvw9cWoHwt97Wqg9ZVV6UfIaBdY88nvL+rzpnqWU4qL5TPSoRkpYcel
YyEGpUS/pLd+AYwjGYEDZm7VgAH8NVGH+Y+Y86RB+KXeM/Hs0FoTIKlnk4NbzTHd
axhTt9WFK5oE0I9aBh/a1JRsEhT+vVEQxAgU04AWWIDggnlm73icEp5r6OhqBp7m
93w4XWbZ++4bbjG+kR/NEKH0Odh+p5TmmcdmhRKIL0/hd8jHPASPUg2DyA3FoB0z
AteKHUXUwf/Dd8+noULvF2cOcxKsNE8Y53DR3B+Amdbze8cYojuTFZu60Dcvool7
4ESSKG30N0lzl1KYJgv540XkNwkbHaty6kkk7meF60PFKzMU1A+rtBVeAmy2ORy3
+lLzyTjGzT01JlOx7TusJh7/Pa0DPj1nBMVjt2iKNcUhJsFmKHE=
=ilIt
-----END PGP SIGNATURE-----
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.