Other Parts Discussed in Thread: CCSTUDIO, TVP5147, CDCE949
I have C source code that can run at CCS IDE, but failed to compile into ELF format that can run on ARM Linux, is there any special compiler FLAG to be set? Thanks. Jim
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.
Please see following errors:
**** Build of configuration Debug for project video_sd_display_480i
****
E:\TI\ccsv5\utils\bin\gmake -k all
'Building target: video_sd_display_480i.out'
'Invoking: ARM Linker'
"E:/TI/ccsv5/tools/compiler/tms470/bin/cl470" -mv5e --code_state=32
--abi=eabi -me -g --define="_DEBUG" --define="ARM_SIDE" --quiet
--diag_warning=225 --display_error_number -z -m"video_sd_display_480i.map"
-i"E:/TI/ccsv5/tools/compiler/tms470/lib"
-i"E:/TI/ccsv5/tools/compiler/tms470/include" -i"C:/Documents and
Settings/Administrator/workspace_v5_1/video_sd_display_480i"
-i"C:/CCStudio_v3.3/boards/evmdm6467/tests_video_adv7343dc/video_sd_dis
play_ 480i" --reread_libs --warn_sections --rom_model -o
"video_sd_display_480i.out" "./vpif_setup.obj" "./vpif_sd_bt656.obj"
"./video_sd_display_fill_480i.obj" "./video_sd_display_colorbars_480i.obj"
"./tvp5147_setup.obj" "./tvp5147.obj" "./main.obj" "./cdce949.obj"
"./adv7343_setup.obj" "./adv7343.obj" "../evmdm6467bsl.lib" "../linker.cmd"
fatal error #16000: object files have incompatible formats
("E:/TI/ccsv5/tools/compiler/tms470/lib/rts32e.lib<boot.obj>" = TI-COFF,
"./vpif_setup.obj" = ELF)
>> Compilation failure
gmake: *** [video_sd_display_480i.out] Error 1
gmake: Target `all' not remade because of errors.
**** Build Finished ****
You are trying to mix COFF and EABI object files; this is not supported. You will need to recompile all COFF object files with the --abi=eabi flag, including vpif_setup.obj.
Are you trying to create a Linux executable for Linux running on ARM? I don't think the TI ARM compiler supports generating Linux executables, but I'm not sure.
Yes, I am trying to create Linux executable running on DM6467 ARM side, you are saying TI's compiler is not supported?
We can recompile the same code using standard ARM cross compiler in ubuntu Linux, but the code is not usable, when executes it, it reports "killed"
Somehow, the the hardware definition is not compatible with TI's definition in CCS using following define
#define VPIF_CTR0 * (volatile Uint32 *) (0x01c12000 + 0x40)
It seems that the define using "volatile" is an issue, any idea? How to get around of this define? Thanks
jim xu said:Yes, I am trying to create Linux executable running on DM6467 ARM side, you are saying TI's compiler is not supported?
You typically use a gcc ARM compiler for that.
-George
But this doesn't solve my problem, the hardware address definition seems not workable in native ARM compiler while works fine in CCS, how to solve this?