[Scons-users] Can I filter the objects in env.Program

prife goprife at gmail.com
Sun Mar 3 00:41:02 EST 2013


2013/3/2 Bill Deegan <bill at baddogconsulting.com>


>

>

> On Fri, Mar 1, 2013 at 9:13 PM, prife <goprife at gmail.com> wrote:

>

>>

>>> Or from the comments in the TempFileMunge function:

>>> env["TEMPFILEPREFIX"] = '-via' # arm tool chain

>>>

>>> ?

>>> -Bill

>>>

>>> while,

>> env["LINKCOM"] = "$LINK -o $TARGET $LINKFLAGS ${TEMPFILE('$SOURCES')}"

>> env["TEMPFILEPREFIX"] = ' --via ' # arm tool chain

>>

>> still can not work, I will get:

>> Fatal error: L3900U: Unrecognized option '--viac

>> :\users\admini~1\appdata\local\t

>> emp\tmpi73nro.lnk'.

>> Finished: 0 information, 0 warning, 0 error and 1 fatal error messages.

>> scons: *** [rtthread-stm32.axf] Error 1

>> scons: building terminated because of errors.

>>

>> The spaces in env["TEMPFILEPREFIX"] after '--via' will be deleted in

>> SCons, so I have to delete the '@' in __init__.py

>>

>

> Sounds like a bug.

> Can you file one at scons.tigris.org?

>


OK, I will submit the issue. And thank you very much for your help.
--
°ÑÓÐÏÞµÄʱ¼äͶÈëµ½ÎÞÏÞµÄѧϰÖÐÈ¥
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20130303/c264606c/attachment.html>


More information about the Scons-users mailing list