Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » DSDP - Real-Time Software Components (RTSC) » XDC build error with specific XDCARGS
XDC build error with specific XDCARGS [message #4914] Tue, 30 June 2009 09:47 Go to next message
Badri is currently offline BadriFriend
Messages: 17
Registered: July 2009
Junior Member
Champs,
I am using XDC tools version 3.15.00.50 on Windows. I am seeing that the
xdc build fails with message:
"can't create directory syslink_2_00_00_04" on giving the following XDC
build command line:
xdc all XDCARGS="SYSLINKDIR=D:/tools_wtbu_base_omx/syslink_2_00_00_04 "

Looks like XDC tools tries to create a mak file under lib/ folder of the
form

lib/SYSLINKDIR=D:/tools_wtbu_base_omx/syslink_2_00_00_04/ti. sdo.domx.domxcore.av5T.mak

which fails on windows.

Can you please let me know how to escape the XDCARGS so that this does not
occur


Thanks
Badri
Re: XDC build error with specific XDCARGS [message #4983 is a reply to message #4914] Tue, 30 June 2009 16:51 Go to previous messageGo to next message
Dave Russo is currently offline Dave RussoFriend
Messages: 172
Registered: July 2009
Senior Member
Badri wrote:
> Champs,
> I am using XDC tools version 3.15.00.50 on Windows. I am seeing that the
> xdc build fails with message:
> "can't create directory syslink_2_00_00_04" on giving the following XDC
> build command line:
> xdc all XDCARGS="SYSLINKDIR=D:/tools_wtbu_base_omx/syslink_2_00_00_04 "
>
> Looks like XDC tools tries to create a mak file under lib/ folder of the
> form
>
> lib/SYSLINKDIR=D:/tools_wtbu_base_omx/syslink_2_00_00_04/ti. sdo.domx.domxcore.av5T.mak
>
>
> which fails on windows.
>
> Can you please let me know how to escape the XDCARGS so that this does
> not occur
>
XDCARGS is "uninterpreted" by XDCtools; it is simply passed to package
build scripts; see
http://rtsc.eclipse.org/docs-tip/Command_-_xdc#Environment_V ariables

This looks like a SysLink question but, if I had to guess, I'd try
dropping the XDCARGS assignment:

xdc all SYSLINKDIR=D:/tools_wtbu_base_omx/syslink_2_00_00_04

Recall that the xdc command is just GNU make and GNU make allows one to
define values on the command line via simple name=value pairs.
>
> Thanks
> Badri
>
>
Re: XDC build error with specific XDCARGS [message #5052 is a reply to message #4983] Thu, 02 July 2009 10:31 Go to previous messageGo to next message
Badri is currently offline BadriFriend
Messages: 17
Registered: July 2009
Junior Member
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/s yslink_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)

Please let me know if this error is occuring due to some wrong
configuration in package.bld
Re: XDC build error with specific XDCARGS [message #5120 is a reply to message #5052] Sun, 05 July 2009 20:04 Go to previous message
Dave Russo is currently offline Dave RussoFriend
Messages: 172
Registered: July 2009
Senior Member
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/s yslink_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?

>
>
>
>
>
Previous Topic:Path-related Errors
Next Topic:Adding new platform to RTSC
Goto Forum:
  


Current Time: Thu Apr 25 16:39:19 GMT 2024

Powered by FUDForum. Page generated in 0.03023 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top