[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.dsdp.rtsc] Re: XDC build error with specific XDCARGS

Badri wrote:
Dave,
Thank you for the reply. The error is generated when XDC generates the makefile from the package.bld and that is why i suspect it to be an XDC tools issue.


My package name is ti.sdo.domx.domxcore
If I give xdc all
A file ti.sdo.domx.domxcore.a64P.mak is generated in the ti/sdo/domx/domxcore/lib folder.


If I give xdc all XDCARGS=SYSLINKDIR=D:/tools_wtbu_base_omx/syslink_2_00_00_04
the xdc tools tries to generate the makefile under
ti/sdo/domx/domxcore/lib/SYSLINKDIR=D:/tools_wtbu_base_omx/syslink_2_00_00_04/ti.sdo.domx.av5T.mak


which fails.

The error is generated by xdctools_3_15_00_50\include\utils.tci utils.saveFile = function (content, fileName)
The file name above is (obviously) invalid so it's not surprising that saveFile, fails.

I don't see any reason for XDCtools to ever use the value of XDCARGS for directory names. The value is simply passed to package.bld scripts.


Please let me know if this error is occuring due to some wrong configuration in package.bld


I can't be certain without seeing the package.bld script.

If I had to guess, the package.bld script is calling Pkg.addLibrary() with a name that is formed from XDCARGS and the name (erroneously) contains the _entire_ XDCARGS string rather than some filtered form of it.

Can you post the package.bld script or at least the portion that is creating libraries?