Other Parts Discussed in Thread: SYSBIOS
Hi,
Customer is trying to convert their ISDK1.x environment to ISDK2.x for their product.
(Target is AM335x)
While they try to build the code, below error is generated.
==========================================
arm-none-eabi-gcc.exe: error: unrecognized command line option '-@ccsLinker.
opt'
arm-none-eabi-gcc.exe: fatal error: no input files
==========================================
According to similar issue on E2E below, it seems the build option -@ccsLinker.opt is option for TI compiler, so it needs to be change for GCC.
https://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/392709/1386902#1386902
http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/314265
But the makefile is auto-generated file, so customer does not know how to avoid it.
Could you tell me how to avoid the error ?
This needs to be fixed for their certification test planned on June26th.
Below is full error log:
===============================================
**** Build of configuration am335x_debug for project profinet_slave_RT_MRP
****
"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all 'Building target: profinet_slave_RT_MRP.out'
'Invoking: GNU Linker'
'Flags: -mfloat-abi=hard -Dam3359 -DAM335X_FAMILY_BUILD -DMEM_BARRIER_DISABLE -DTWO_PORT_CFG -DESYSE_PROFIDRIVE_SDK -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -Wl,-Map,"profinet_slave_RT_MRP.map" --entry 0x80000000 -nostartfiles -nodefaultlibs -static -Wl,--gc-sections -L"C:/ti/bios_6_45_01_29/packages/gnu/targets/arm/libs/install-native/arm-no
ne-eabi/lib/fpu"
-L"C:/ti/sysbios_ind_sdk_02.01.03.02/sdk/starterware/binary/dal/lib/am335x-e
vm/a8/release/gcc"
-L"C:/ti/sysbios_ind_sdk_02.01.03.02/sdk/starterware/binary/device/lib/am335
x-evm/a8/release/gcc"
-L"C:/ti/sysbios_ind_sdk_02.01.03.02/sdk/starterware/binary/board/lib/am335x
-evm/a8/release/gcc"
-L"C:/ti/sysbios_ind_sdk_02.01.03.02/sdk/starterware/binary/soc/lib/am335x-e
vm/a8/release/gcc"
-L"C:/ti/sysbios_ind_sdk_02.01.03.02/sdk/starterware/binary/utils/lib/am335x
-evm/a8/release/gcc"
-L"C:/ti/sysbios_ind_sdk_02.01.03.02/sdk/os_drivers/lib/am335x"
-L"C:/ti/sysbios_ind_sdk_02.01.03.02/sdk/protocols/profinet_slave/stack_lib_
RT_MRP/am335x"
-L"C:/ti/sysbios_ind_sdk_02.01.03.02/sdk/protocols/snmp/stack_lib/am335x"
-L"C:/ti/sysbios_ind_sdk_02.01.03.02/sdk/board/lib/am335x"
-Wl,--defsym,STACKSIZE=0x18000 -Wl,--defsym,HEAPSIZE=0x400 -Wl,--start-group'
"C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3/bin/arm-none-eabi-g
cc.exe" -@"ccsLinker.opt" -o"profinet_slave_RT_MRP.out"
arm-none-eabi-gcc.exe: error: unrecognized command line option '-@ccsLinker.
opt'
arm-none-eabi-gcc.exe: fatal error: no input files compilation terminated.
gmake: *** [profinet_slave_RT_MRP.out] Error 1
gmake: Target `all' not remade because of errors.
**** Build Finished ****
Thanks and regards,
KoT

