We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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 *.disCould Not Find C:\ARM\DSWorkSpace\sort_app\sort_v8_mpcore.1uart\*.odel *.axf *.binCould Not Find C:\ARM\DSWorkSpace\sort_app\sort_v8_mpcore.1uart\*.axfarmclang -c -g -O0 sorts.c -o sorts.o -target aarch64-arm-none-eabi -DSTANDALONE --tool_variant=ult -std=c90process_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=armclangAS=armasmLD=armlink#AS=/engr/dev/tools/arm/DS-5/sw/ARMCompiler6.01u1/bin/armasm#LD=/engr/dev/tools/arm/DS-5/sw/ARMCompiler6.01u1/bin/armlinkAR=armarFE=fromelf
ifeq ($(OSTYPE),linux)DEL = rm -rfelseDEL = delendif
################################################################################# 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!!