[Scons-users] SCons Environments and ENV

Bill Deegan bill at baddogconsulting.com
Tue Jun 9 12:38:55 EDT 2020


Russel,

Maybe run the thing under strace with the long arg setting so you can see
all the subprocesses and their arguments and hopefully see a diff there?

-Bill

On Tue, Jun 9, 2020 at 5:04 AM Russel Winder <russel at winder.org.uk> wrote:

> On Sat, 2020-06-06 at 09:30 -0700, Bill Deegan wrote:
> > Russel,
> >
> > How do you find main? via PATH? via some other env variable?
> "$MY_BIN/main"?
> >
>
> The file containing the code that generates the main during compilation, D
> does compile time function and template evaluation, in this case the
> result is
> main. It all works fine from the command line but not when the command is
> executed by SCons in the test_environment – which is really strange.
>
> --
> Russel.
> ===========================================
> Dr Russel Winder      t: +44 20 7585 2200
> 41 Buckmaster Road    m: +44 7770 465 077
> London SW11 1EN, UK   w: www.russel.org.uk
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20200609/1bab7f45/attachment.html>


More information about the Scons-users mailing list