Porting linux compiled code into IDE

Hello

I just installed IDE and trying to port existing code compiled at Linux ARMCC into IDE environment.  I followed the guideline in the armds_user_guide 2.4 Create a new Makefile project with existing code, and the below is error I have seen now..

/*

12:39:09 **** Build of configuration Default for project Sort_App ****
make all
del *.o *.txt *.log *.img *.dis
Could Not Find C:\ARM\DSWorkSpace\sort_app\sort_v8_mpcore.1uart\*.o
del *.axf *.bin
Could Not Find C:\ARM\DSWorkSpace\sort_app\sort_v8_mpcore.1uart\*.axf
armclang -c -g -O0 sorts.c -o sorts.o -target aarch64-arm-none-eabi -DSTANDALONE --tool_variant=ult -std=c90
process_begin: CreateProcess(NULL, armclang -c -g -O0 sorts.c -o sorts.o -target aarch64-arm-none-eabi -DSTANDALONE --tool_variant=ult -std=c90, ...) failed.
make (e=2): The system cannot find the file specified.

make: *** [Makefile:80: sorts.o] Error 2
"make all" terminated with exit code 2. Build might be incomplete.

12:39:09 Build Failed. 1 errors, 0 warnings. (took 180ms)

*/

The Makefile script looks as below. It was compiled well in Linux environment, and sample code provided by ARM:

/*

#############################################################################
CC=armclang
AS=armasm
LD=armlink
#AS=/engr/dev/tools/arm/DS-5/sw/ARMCompiler6.01u1/bin/armasm
#LD=/engr/dev/tools/arm/DS-5/sw/ARMCompiler6.01u1/bin/armlink
AR=armar
FE=fromelf

ifeq ($(OSTYPE),linux)
DEL = rm -rf
else
DEL = del
endif

#############################################################################
##
## Targets
##

all: cleanall sorts_v8.axf sorts_v8.dis trim

#############################################################################
# Auxillary Maintainence Targets.

clean:
$(DEL) *.o *.txt *.log *.img *.dis

cleanall: clean
$(DEL) *.axf *.bin

trim:
$(DEL) *.o

#############################################################################
# Object files from C and ASM code

uart.o: uart.c
# Compile for best debug view (lowest optimization)
$(CC) $(CFLAGS) -c -g -O0 -Os $^ -o $@ -target aarch64-arm-none-eabi --tool_variant=ult

retarget.o: retarget.c
# Compile for best debug view (lowest optimization)
$(CC) $(CFLAGS) -c -g -O0 -Os $^ -o $@ -target aarch64-arm-none-eabi -DSTANDALONE --tool_variant=ult

serial.o: serial.c
# Compile for best debug view (lowest optimization)
$(CC) $(CFLAGS) -c -g -O0 -Os $^ -o $@ -target aarch64-arm-none-eabi --tool_variant=ult

sorts.o: sorts.c
# Compile for best debug view (lowest optimization)
$(CC) $(CFLAGS) -c -g -O0 $^ -o $@ -target aarch64-arm-none-eabi -DSTANDALONE --tool_variant=ult -std=c90

*/

Would you like to help me where can I get the guidance about this...?

Thank you so much!!

Parents Reply Children
No data
More questions in this forum