How to use @opts-file with xs command [message #1316] |
Sun, 22 February 2009 14:41  |
Eclipse User |
|
|
|
Champs,
I am using the @opts-file option with the xdc command and it seems to be working. When I attempt to use the same @opts-file with the xs command I get a package not found error. Should I be able to use the same @opts-file for both commands?
I'm using xdctools 3.15.00.26.
xdc.opts
XDCPATH = ^/../imports;/db/toolsrc/library/tools/packages;/home/xlibra ry/trees/a
valaprod/avalaprod-d21/product/bios_6_20_00_21/packages;/hom e/xlibrary/trees/ipc
/ipc-b22/product/ipc_1_00_00_22/packages;^/ti/sdo/fc/utils/b ridgeconfig;/db/tool
src/library/tools/vendors/ti/edma3_lld/edma3_lld_1_06_00_01/ packages
(all on one line)
xdc @opts-file .interfaces
This seems to work.
xs @opts-file xdc.tools.path --help
This generates the following error:
js: " /db/rtree/install/trees/products/xdcprod-k26/product/Linux/x dctools_3_15_00
_26/packages/xdc/xdc.tci", line 316: xdc.services.global.XDCException: xdc.PACKA
GE_NOT_FOUND: can't locate the package 'XDCPATH = ^/../imports;/db/toolsrc/libra
ry/tools/packages;/home/xlibrary/trees/avalaprod/avalaprod-d 21/product/bios_6_20
_00_21/packages;/home/xlibrary/trees/ipc/ipc-b22/product/ipc _1_00_00_22/packages
;^/ti/sdo/fc/utils/bridgeconfig;/db/toolsrc/library/tools/ve ndors/ti/edma3_lld/e
dma3_lld_1_06_00_01/packages' along the path: '/db/toolsrc/library/tools/vendors
/xdc/xdctools_3_15_00_26/Linux/packages;/db/atree/rvh/fc-g29 x/src/ti/sdo/rcm/exa
mples/basic/./../../../../..;'. Ensure that the package path is set correctly.
Thank you
~ Ramsey
|
|
|
|
Re: How to use @opts-file with xs command [message #1507 is a reply to message #1455] |
Mon, 23 February 2009 16:33  |
Eclipse User |
|
|
|
dave russo wrote:
> Ramsey Harris wrote:
>> Champs,
>>
>> I am using the @opts-file option with the xdc command and it seems to
>> be working. When I attempt to use the same @opts-file with the xs
>> command I get a package not found error. Should I be able to use the
>> same @opts-file for both commands?
>>
>> I'm using xdctools 3.15.00.26.
>>
>> xdc.opts
>>
>> XDCPATH =
>> ^/../imports;/db/toolsrc/library/tools/packages;/home/xlibra ry/trees/a
>> valaprod/avalaprod-d21/product/bios_6_20_00_21/packages;/hom e/xlibrary/trees/ipc
>>
>> /ipc-b22/product/ipc_1_00_00_22/packages;^/ti/sdo/fc/utils/b ridgeconfig;/db/tool
>>
>> src/library/tools/vendors/ti/edma3_lld/edma3_lld_1_06_00_01/ packages
>>
>> (all on one line)
>>
>> xdc @opts-file .interfaces
>>
>> This seems to work.
>>
>> xs @opts-file xdc.tools.path --help
>>
>> This generates the following error:
>>
>> js:
>> " /db/rtree/install/trees/products/xdcprod-k26/product/Linux/x dctools_3_15_00
>>
>> _26/packages/xdc/xdc.tci", line 316: xdc.services.global.XDCException:
>> xdc.PACKA
>> GE_NOT_FOUND: can't locate the package 'XDCPATH =
>> ^/../imports;/db/toolsrc/libra
>> ry/tools/packages;/home/xlibrary/trees/avalaprod/avalaprod-d 21/product/bios_6_20
>>
>> _00_21/packages;/home/xlibrary/trees/ipc/ipc-b22/product/ipc _1_00_00_22/packages
>>
>> ;^/ti/sdo/fc/utils/bridgeconfig;/db/toolsrc/library/tools/ve ndors/ti/edma3_lld/e
>>
>> dma3_lld_1_06_00_01/packages' along the path:
>> '/db/toolsrc/library/tools/vendors
>> /xdc/xdctools_3_15_00_26/Linux/packages;/db/atree/rvh/fc-g29 x/src/ti/sdo/rcm/exa
>>
>> mples/basic/./../../../../..;'. Ensure that the package path is set
>> correctly.
>>
>> Thank you
>> ~ Ramsey
> You can use the same opts file _provided_ every option in the opts file
> is valid for both commands.
>
> In the case of "XDCPATH=", unfortunately, only xdc understands this form
> of the option; this form works because xdc allows all options allowed by
> GNU make but xs is unrelated to GNU make. However, --xdcpath can be
> used with both xdc and xs to set the package path.
Ah, understood. I changed my xdc.opts file as follows
--xdcpath=^/../imports;/db/toolsrc/library/tools/packages;/h ome/xlibrary/trees/a
valaprod/avalaprod-d21/product/bios_6_20_00_21/packages;/hom e/xlibrary/trees/ipc
/ipc-b22/product/ipc_1_00_00_22/packages;^/ti/sdo/fc/utils/b ridgeconfig;/db/tool
src/library/tools/vendors/ti/edma3_lld/edma3_lld_1_06_00_01/ packages
(all on one line, no quotes as needed on the command line)
This works for both the xdc and xs commands.
Thank you.
|
|
|
Powered by
FUDForum. Page generated in 0.03289 seconds