This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

NDK warnings in build when upgrading CGT to 7.3.23

Other Parts Discussed in Thread: SYSBIOS

I'm trying to follow this post on migrating the NDK lib from coff format to ELF. 

-------------------------------------------------------------------------------------------------------

make -f ndk.mak from the command line gives me this output:

n\gmake.exe -f ndk.mak
building ndk packages ...
C:/CCS_51/xdctools_3_23_02_47\packages\xdc\bld\xdc_top.mak:273: Warning: nothing
 to build; specified -P[RrD] options don't match any packages
         -P
         -Pr ./packages
         -PR
         -PD
making all: Wed Apr 27 14:50:37 USMST 2016 ...
.interfaces files complete: Wed Apr 27 14:50:38 USMST 2016.
.libraries files complete: Wed Apr 27 14:50:38 USMST 2016.
.dlls files complete: Wed Apr 27 14:50:38 USMST 2016.
.executables files complete: Wed Apr 27 14:50:39 USMST 2016.
all files complete: Wed Apr 27 14:50:39 USMST 2016.

-------------------------------------------------------------------------------------------------------

ndk.mak has this

#
# Where to install/stage the packages
# Typically this would point to the devkit location
#
DESTDIR = C:\work\ndk_2_20_06_35\ndk_2_20_06_35\packages\ti\ndk\lib

prefix = /
docdir = /docs/ndk
packagesdir = C:\work\ndk_2_20_06_35\ndk_2_20_06_35\packages

# USER STEP: user must define below path to xdc installation
# Set up dependencies
XDC_INSTALL_DIR = C:\CCS_51\xdctools_3_23_02_47
SYSBIOS_INSTALL_DIR = C:\CCS_51\bios_6_33_05_46

#
# Set location of various cgtools
# These variables can be set here or on the command line.  The ?= makes
# the command line to take precedence over the setting in this file.
#
# USER STEP: user must define below paths to compilers

ti.targets.elf.C64P_big_endian = C:/CCS_51/ccsv5/tools/compiler/7.3.23

Can you help, please?

Work environment

CCS version 5.1

NDK version 2.20.6.35

BIOS version 6.33.05.46

Big Endian, C64P, ELF

  • Hi William,

    I went ahead and downloaded the same tools as you to try to re-create the issue, but from my installation of that ndk version(2.20.06.35) there is no ndk.mak. Instead it uses a config.bld file for its build process.

    Setting up the config.bld file and running a top level xdc -Pr command seems to work for me. Where is the ndk.mak file that you're seeing located?

    Best,
    Alexander
  • Hi Alexander,

    In the first post, I think I was copying the link that had a TI representative post a way to perform TI BIG Endian, Elf formatted, NDK builds for the C6457 (a C64P product). In that post, I thought he included the NDK.mak/NDK.bld files.

    I'm not certain I'm able to configure for ELF/Big Endian for the 64P. Were you able to configure for that?

    I am able to build the entire set of libs like you are doing. When I upgraded my CGT to 7.3.23, I started getting "TI libraries built with COFF" warnings at linker time.


    Thanks,

    Will
  • So I just finished rebuilding for C64P but moved to CCS 5.5.0 with CGT 7.4.4 rather than 7.3.23, it's possible the issue was fixed. Would it be possible for you to use a more up to date tools version?

    Here's where I was able to download it:
    processors.wiki.ti.com/.../Download_CCS

    Best,
    Alexander
  • Alexander,

    The upgrade on tools from 7.3.1 to 7.3.23 made the warnings start. CGT 8.01, and CCS v6. IDE, also build an RTSC configuration that will generate these warnings. The NDK library seems to have coff formatted object files in it still.

    Were you able to reference the RTSC and build an elf project with the files you are using? Make sure to declare the project in the BIOS configuration file (.cfg), as well. You should see the warnings.

    Will

  • Nevermind, I found out what went wrong---not importing as repository when it was built. Per this webpage.

    processors.wiki.ti.com/.../Rebuilding_the_NDK_Core