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

prife goprife at gmail.com
Sat Mar 2 00:13:28 EST 2013



>

>

> 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

--
°ÑÓÐÏÞµÄʱ¼äͶÈëµ½ÎÞÏÞµÄѧϰÖÐÈ¥
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20130302/1217fc68/attachment.htm>


More information about the Scons-users mailing list