Recently move to the 64Bit e2studio: Version: 2021-01 (21.1.0) Build Id: R20201211-1358
Previous version: Version: 7.8.0 Build Id: R20200321-2326
Previously performing a clean build all the objects were deleted compiled everything new. Now clean behavior only builds recently updated file. Unless I missed something this means clean is completely broken. To get successful clean builds I am back to deleting the entire target build folders and ignoring the warnings that accompany that. Will this be fixed or is there some other way to handling this?
When evoking a clean only. I get 87 ignored errors.
Extracting support files...15:11:05 **** Clean-only build of configuration HardwareDebug for project CMXU_Gauge ****make -j4 cleanrm -rf *.sni *.dbg *.lst *.lis *.lpp *.map *.x *.lbp *.bls *.libelf *.rel *.lbk *.abs *.mi *.jmp *.fsy *.ud *.udm 1st/*.abs 1st/*.jmp 1st/*.fsy CMXU_Gauge.abs CMXU_Gauge.lib CMXU_Gauge.motrm -rf Software/Application/uCOS-III-USBD-V4/BSP/Init/dbsct.obj Software/Application/uCOS-III-USBD-V4/BSP/Init/idcode.obj Software/Application/uCOS-III-USBD- .... huge list of stuff to delete....
make: [clean] Error 87 (ignored)rm -rf Software/uC-CPU/*.asm Software/uC-CPU/*.p Software/uC-CPU/*.pp Software/uC-CPU/*.src Software/uC-CPU/*.jmp Software/uC-CPU/*.lst Software/uC-CPU/*.prn Software/uC-CPU/*.i Software/uC-CPU/*.udrm -rf Software/Application/BSP/*.asm Software/Application/BSP/*.p Software/Application/BSP/*.pp Software/Application/BSP/*.src Software/Application/BSP/*.jmp Software/Application/BSP/*.lst Software/Application/BSP/*.prn Software/Application/BSP/*.i Software/Application/BSP/*.ud ....etc....then
ECHO is off.'Clean complete.'
15:11:06 Build Finished. 0 errors, 0 warnings. (took 747ms)
You could add debug option and see what's going on in make command.In project property dialog, open "Builder Settings" tab in "C/C++ Build" category, then uncheck "Use default build command". Then add an option in the "Build command" EditBox for example "make --debug=a -j4".(You can skip reading implicit messages since it is too long.)
For the details about GNU make and the options, see the following page.https://www.gnu.org/software/make/manual/html_node/Options-Summary.html
Even only clean, you would not able to see all messages in build console.Look at the build log in the current workspace. See the following FAQ to find the location of build log.https://en-support.renesas.com/knowledgeBase/18693964
Seems there in no 'clean' target and wants to recreate the makefile. Then he creates a rm argments list that is huge and that fails leaving all objects untouched.
How do we fix this?Russ
> Then he creates a rm argments list that is huge and that fails leaving all objects untouched.
Do you mean command line is too long (how long was the rm line?) and not accepted by Windows??
Clean for this identical project completes no errors in the 32bit e2studio 7.8.0.
The command is 80579 byte long and Starts out:
rm -rf *.sni *.dbg *.lst *.lis *.lpp *.map *.x *.lbp *.bls *.libelf *.rel *.lbk *.abs *.mi *.jmp *.fsy *.ud *.udm 1st/*.abs 1st/*.jmp 1st/*.fsy CMXU_Gauge.abs CMXU_Gauge.lib CMXU_Gauge.mot
Creates a huge list:
rm -rf Software/Application/uCOS-III-USBD-V4/BSP/Init/dbsct.obj Software/Application/uCOS-III-USBD-V4/BSP/Init/idcode.obj Software/Application/uCOS-III-USBD-V4/BSP/Init/sbrk.obj Software/uC-CPU/cpu_core.obj Software/Application/BSP/bsp.obj ....etc...
....massive list.... Software/uCOS-III/Source/os_task.d Software/uCOS-III/Source/os_tick.d Software/uCOS-III/Source/os_time.d Software/uCOS-III/Source/os_tmr.d Software/uCOS-III/Source/os_var.d Software/Application/BSP/EEFlash/EEFlashUpdate.d Software/Application/BSP/EEFlash/r_flash_api_rx.d, ...) failed.
How about clean in newly created projects?What if moved workspace/project folder to other location (such as C:\wks)?