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 <CAEyG4CH55D_QJc-Q2iFSG=J7iDOuyoMGWr0c4qzQ-gj1pXDaJw@mail.gmail.com>
Russel,

O.k. so once I sorted the paths for working with macports on osx all D
tests pass except the above.

It yields a bunch of these:
> ld: warning: pointer not aligned at address 0x100050CD3
(_D53TypeInfo_S3std5array17__T8AppenderTAyaZ8Appender4Data6__initZ + 24
from proj.o)
> ld: warning: pointer not aligned at address 0x100050CE3
(_D53TypeInfo_S3std5array17__T8AppenderTAyaZ8Appender4Data6__initZ + 40
from proj.o)

It's picking up cc from /usr/bin/gcc instead of /opt/local/bin/gcc-mp-4.7
which is also installed by macports.

Thoughts on best way to modify tests to work?
I notice that your not checking stderr for dmd on debian due to some error
messages.

-Bill

_______________________________________________
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.