Problems with CortexA9 target (gnu.targets.arm.GCArmv7A) [message #510634] |
Thu, 28 January 2010 06:19 |
Brian Cruickshank Messages: 19 Registered: September 2009 |
Junior Member |
|
|
I'm trying to build an application using the CodeSourcery GNU tools for the CortexA9, but am running into a number of problems.
When you try to build a package using xdctools_3_16_02_32\packages\gnu\targets\arm\GCArmv7A target, the following error is displayed:
making package.mak (because of C:/Program) ...
js: "C:/Program Files/Texas Instruments/xdctools_3_16_02_32/packages/gnu/targets
/ITarget.xs", line 236: xdc.services.global.XDCException: gnu.targets.UNDEFINED_
EXECUTABLE: 'LONGNAME' must be defined for the target gnu.targets.arm.GCArmv7A
xdctools_3_16_02_32\gmake.exe: *** Deleting file `package.mak'
all files complete.
Looking at the GCArmv7A.xdc file, the LONGNAME config parameter is defined as:
override config string LONGNAME;
Hacking the ITarget.xs file as follows allows the xdc command to work when run from the command line:
if (target.LONGNAME == null) {
/* bc: added [... */
target.LONGNAME = "/bin/arm-none-linux-gnueabi-gcc";
/* ...] removed [...
throw new Packages.xdc.services.global.XDCException(
"gnu.targets.UNDEFINED_EXECUTABLE",
"'LONGNAME' must be defined for the target " + target.$name);
*/
}
But when I try to build the CCS configuration project that uses the packages built by the xdc command, I get the following error:
js: "C:\CCSv4 installs\CCSv4.2.0.05010\xdctools_3_16_02_32\packages\xdc\to ols\configuro\template\compiler.opt.xdt ", line 66: Error: template generation of 'compiler.opt' failed: xdc.services.global.XDCException: gnu.targets.UNDEFINED_EXECUTABLE: 'LONGNAME' must be defined for the target gnu.targets.arm.GCArmv7A
"./package.bld", line 62
Is there a fix or workaround available for this?
Regards,
Brian
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03066 seconds