[Scons-users] TEMPFILEPREFIX - Prevent SCons from stripping whitespace

Bill Deegan bill at baddogconsulting.com
Tue Oct 27 14:45:18 EDT 2015


Joel,

Can you pastebin a very simple SConstruct to demostrate this?

Thanks,
Bill

On Tue, Oct 27, 2015 at 10:00 AM, Joel Gibson <jmr.gibson at gmail.com> wrote:

> Hi,
>
> I'm pretty new to scons, but we have a build system that unfortunately
> requires windows and a rather antiquated compiler and linker.
>
> We hit the command line limit for the linker step, and so I'm using the
> ${TEMPFILE(...)} wrapper to substitute a file. This works fine, except that
> the command line option for file substitution "-f <file>" (note the
> included space). Using TEMPFILEPREFIX ='-f ' works, but scons is stripping
> the whitespace from between the option and the flag, which is causing it to
> fail. There are no alternative commands listen in the help for the liinker
> (such as --file=)
>
> I can run it manually fine with <invoke> -f C:\tempfileblah, so I know it
> works, I just can't get SCons to generate what I want.
>
> Is there a way to get scons to keep the whiltespace?
>
> Thanks,
>
> Joel
>
>
> _______________________________________________
> 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/20151027/7f526e27/attachment.html>


More information about the Scons-users mailing list