Hi,
I try to run the hello project of OPENMP. After I check the posts of e2e, I update the .cfg file and .xdc file.
http://e2e.ti.com/support/development_tools/compiler/f/343/p/218468/821972.aspx#821972
I rename the old package.xdc file under the folder
C:\ti\xdctools_3_23_04_60\packages\ti\platforms\evm6678\
to another name and copy the new package.xdc file there. The problem is the compiling cannot pass, see the error message below:
'Building target: openmpHello0.out'
'Invoking: C6000 Linker'
"C:/Program Files (x86)/Texas Instruments/C6000 Code Generation Tools 7.4.2/bin/cl6x" -mv6600 --abi=eabi -g --display_error_number --diag_warning=225 --openmp -z --stack_size=0x8000 -m"openmpHello0.map" --heap_size=0x8000 -i"C:/Program Files (x86)/Texas Instruments/C6000 Code Generation Tools 7.4.2/lib" -i"C:/Program Files (x86)/Texas Instruments/C6000 Code Generation Tools 7.4.2/include" --reread_libs --warn_sections --display_error_number --rom_model -o "openmpHello0.out" -l"./configPkg/linker.cmd" "./omp_hello.obj" -l"libc.a"
<Linking>
error #10008-D: cannot find file "./configPkg/linker.cmd"
undefined first referenced
symbol in file
--------- ----------------
GOMP_parallel_end ./omp_hello.obj
GOMP_parallel_start ./omp_hello.obj
omp_get_num_threads ./omp_hello.obj
omp_get_thread_num ./omp_hello.obj
omp_set_num_threads ./omp_hello.obj
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "openmpHello0.out" not built
>> Compilation failure
gmake: *** [openmpHello0.out] Error 1
gmake: Target `all' not remade because of errors.
**** Build Finished ****
I suspect that it needs a linker file.
How to add a linker cmd file? Where can I find one? This system is CCS v5.2, windows 7, 64 bit. Thanks