From RTSC-Pedia

Jump to: navigation, search
revision tip
—— LANDSCAPE orientation
[printable version]  [offline version]offline version generated on 04-Aug-2010 21:08 UTC

FAQ-080730-1

How can I resolve linking issues with v6.1 of the C6000 compiler?

There are compatibility issues between v6.1 and v6.0 of the C6000 compiler when using "whole program" optimizations. To support all users, the pre-built libraries that come with XDCtools are built with the v6.0 C6000 compiler. If you use "whole program" optimization and try to mix object files from v6.1 and an earlier version of the C6000 compiler you will get linker errors.

If you are using v6.1 of the C6000 compiler, you can fix this problem in one of the following ways:

  • Choose Project->Properties. In the Properties dialog, choose the C/C++ Build category. In the Tool Settings tab, choose XDCtools v3.10->Advanced Options. Change the build profile (-r) field from "whole_program" to "debug" or "release".
build profile

  • Enable DSP/BIOS. Since DSP/BIOS comes with all libraries (include the xdc.runtime libraries) pre-built using the v6.1 compiler, there should not be any mixing of object files from v6.1 and an earlier release.
[printable version]  [offline version]offline version generated on 04-Aug-2010 21:08 UTC
Copyright © 2008 The Eclipse Foundation. All Rights Reserved


Views
Personal tools
package reference