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

Bill Deegan bill at baddogconsulting.com
Sat Mar 2 00:45:42 EST 2013


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?

-Bill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20130301/94b85def/attachment.htm>


More information about the Scons-users mailing list