[cmake-developers] CMake platform support for TI C6000 and TMS470 (OMAP)

Alexander Neundorf neundorf at kde.org
Mon Oct 18 16:17:43 EDT 2010


Hi Trevor,

On Sunday 17 October 2010, Trevor Kellaway wrote:
> Alex,
>
> Is CMake accepting platform files for the official distro?

You mean files for supporting the TI compilers ?
I think so, yes.

> You may remember me from my original CMake 2.4 work on embedded compiler
> support, I'm currently updating the build system this work was for to
> the latest CMake, so have newly written platform support files for TI
> C6000 DSP, and TI TMS470 ARM available (TI's OMAP device contains this
> DSP and ARM). I also have assembler support for both of these.

Sounds good :-)

> I notice from your IAR work you are supporting test compiles, I haven't
> supported this as haven't looked at any changes that have been made to
> support this.
>
> The TI compilers don't support "-o", but they do have an option to set
> the output directory, originally I wrote a C program ("custom_cl6x") to
> wrap the TI compiler invocation to munge the -o to the directory option
> required, I've since learnt that I could have just used "<OBJECT_DIR>"
> rather than "<OBJECT>" in the compiler rule therefore the dependency on
> spawn tool is no longer required, making integration into official CMake
> easier.
>
> For the assembler support I note that if I put ENABLE_LANGUAGE() in the
> tool chain file CMake locks up, this also happens if I put it in my
> "Platform/Generic-cl6x.cmake", I have had to put it in either top level
> CMakeLists.txt or a normal include file included from it. It would make
> more sense to be in the compiler file or toolchain file, I haven't
> looked into this further.

Why would you want to put enable_language() into these files ?
It is not intended to be put there.

> The TI tools are available on both Linux and Windows (I use both). I

Are there versions which can be downloaded for free, evaluation versions or 
something ?
Do you have a link ?

Alex



More information about the cmake-developers mailing list