2017-08-23 73 views
1

使用Eclipse IDE用於C/C++開發人員(本例中爲Kinetis Design Studio),我已經預先構建了stps以刪除文件並自動生成另一個文件。不過,我注意到在構建日誌中編譯是在預編譯完成之前開始的!如果我的自動生成的頭文件在早期使用,則不是很理想。在構建開始之前不執行Eclipse CDT預構建步驟

我也觀察到一個類似的問題與後構建執行多個命令但失敗,因爲依賴於前面的步驟的文件。

有沒有人有任何想法或建議如何確保預構建實際上預構建?

17:54:49 **** Build of configuration debug for project TestProj_Firmware **** 
make -k -j8 pre-build main-build 

PRE BUILD COMMAND EXECUTED 

Delete main.o to force a build & Generate version.hpp 
rm "Source\D3\main.o" & subwcrev "C:/dev/TestProj Firmware/TestProj_Firmware\.." "..\settings\Version.tmpl" "..\..\Source\D3\Version.hpp" 

COMPILATION STARTED 

Building file: C:/dev/TestProj Firmware/Source/SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/system_MK24F12.c 
Building file: C:/dev/TestProj Firmware/Source/SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers/fsl_adc16.c 
Building file: C:/dev/TestProj Firmware/Source/SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers/fsl_clock.c 
Building file: C:/dev/TestProj Firmware/Source/SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers/fsl_common.c 
Building file: C:/dev/TestProj Firmware/Source/SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers/fsl_crc.c 
Building file: C:/dev/TestProj Firmware/Source/SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers/fsl_flash.c 
Invoking: Cross ARM C Compiler 
Invoking: Cross ARM C Compiler 
Building file: C:/dev/TestProj Firmware/Source/SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers/fsl_ftm.c 
Invoking: Cross ARM C Compiler 
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-common -ffreestanding -fno-builtin -Wall -g -DDEBUG -D__STARTUP_CLEAR_BSS -DDEBUG_PRINT -DCPU_MK24FN1M0VLQ12 -DFSL_RTOS_FREE_RTOS -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/Board" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/Config" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/SDMMCPort" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/InFact" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/utilities" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/CMSIS/Include" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/inc" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/src" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/port" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src/fsl_sd_disk" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src/option" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/rtos/freertos_9.0.0/Source/include" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/rtos/freertos_9.0.0/Source/portable/GCC/ARM_CM4F" -std=gnu99 -mapcs -MMD -MP -MF"Source/KSDK/startup/system_MK24F12.d" -MT"Source/KSDK/startup/system_MK24F12.d" -c -o "Source/KSDK/startup/system_MK24F12.o" "C:/dev/TestProj Firmware/Source/SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/system_MK24F12.c" 
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-common -ffreestanding -fno-builtin -Wall -g -DDEBUG -D__STARTUP_CLEAR_BSS -DDEBUG_PRINT -DCPU_MK24FN1M0VLQ12 -DFSL_RTOS_FREE_RTOS -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/Board" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/Config" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/SDMMCPort" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/InFact" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/utilities" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/CMSIS/Include" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/inc" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/src" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/port" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src/fsl_sd_disk" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src/option" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/rtos/freertos_9.0.0/Source/include" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/rtos/freertos_9.0.0/Source/portable/GCC/ARM_CM4F" -std=gnu99 -mapcs -MMD -MP -MF"Source/KSDK/drivers/fsl_adc16.d" -MT"Source/KSDK/drivers/fsl_adc16.d" -c -o "Source/KSDK/drivers/fsl_adc16.o" "C:/dev/TestProj Firmware/Source/SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers/fsl_adc16.c" 
Invoking: Cross ARM C Compiler 
Invoking: Cross ARM C Compiler 

FIRST PRE BUILD STEP EXECUTED (FAILS) 

rm: can't remove 'Source\D3\main.o': No such file or directory 

MORE COMPILATION 

arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-common -ffreestanding -fno-builtin -Wall -g -DDEBUG -D__STARTUP_CLEAR_BSS -DDEBUG_PRINT -DCPU_MK24FN1M0VLQ12 -DFSL_RTOS_FREE_RTOS -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/Board" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/Config" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/SDMMCPort" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/InFact" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/utilities" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/CMSIS/Include" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/inc" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/src" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/port" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src/fsl_sd_disk" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src/option" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/rtos/freertos_9.0.0/Source/include" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/rtos/freertos_9.0.0/Source/portable/GCC/ARM_CM4F" -std=gnu99 -mapcs -MMD -MP -MF"Source/KSDK/drivers/fsl_clock.d" -MT"Source/KSDK/drivers/fsl_clock.d" -c -o "Source/KSDK/drivers/fsl_clock.o" "C:/dev/TestProj Firmware/Source/SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers/fsl_clock.c" 
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-common -ffreestanding -fno-builtin -Wall -g -DDEBUG -D__STARTUP_CLEAR_BSS -DDEBUG_PRINT -DCPU_MK24FN1M0VLQ12 -DFSL_RTOS_FREE_RTOS -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/Board" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/Config" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/SDMMCPort" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/InFact" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/utilities" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/CMSIS/Include" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/inc" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/src" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/port" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src/fsl_sd_disk" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src/option" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/rtos/freertos_9.0.0/Source/include" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/rtos/freertos_9.0.0/Source/portable/GCC/ARM_CM4F" -std=gnu99 -mapcs -MMD -MP -MF"Source/KSDK/drivers/fsl_common.d" -MT"Source/KSDK/drivers/fsl_common.d" -c -o "Source/KSDK/drivers/fsl_common.o" "C:/dev/TestProj Firmware/Source/SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers/fsl_common.c" 
Invoking: Cross ARM C Compiler 
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-common -ffreestanding -fno-builtin -Wall -g -DDEBUG -D__STARTUP_CLEAR_BSS -DDEBUG_PRINT -DCPU_MK24FN1M0VLQ12 -DFSL_RTOS_FREE_RTOS -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/Board" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/Config" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/SDMMCPort" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/InFact" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/utilities" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/CMSIS/Include" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/inc" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/src" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/port" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src/fsl_sd_disk" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src/option" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/rtos/freertos_9.0.0/Source/include" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/rtos/freertos_9.0.0/Source/portable/GCC/ARM_CM4F" -std=gnu99 -mapcs -MMD -MP -MF"Source/KSDK/drivers/fsl_crc.d" -MT"Source/KSDK/drivers/fsl_crc.d" -c -o "Source/KSDK/drivers/fsl_crc.o" "C:/dev/TestProj Firmware/Source/SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers/fsl_crc.c" 
Invoking: Cross ARM C Compiler 
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-common -ffreestanding -fno-builtin -Wall -g -DDEBUG -D__STARTUP_CLEAR_BSS -DDEBUG_PRINT -DCPU_MK24FN1M0VLQ12 -DFSL_RTOS_FREE_RTOS -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/Board" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/Config" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/SDMMCPort" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/InFact" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/utilities" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/CMSIS/Include" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/inc" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/src" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/port" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src/fsl_sd_disk" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src/option" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/rtos/freertos_9.0.0/Source/include" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/rtos/freertos_9.0.0/Source/portable/GCC/ARM_CM4F" -std=gnu99 -mapcs -MMD -MP -MF"Source/KSDK/drivers/fsl_flash.d" -MT"Source/KSDK/drivers/fsl_flash.d" -c -o "Source/KSDK/drivers/fsl_flash.o" "C:/dev/TestProj Firmware/Source/SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers/fsl_flash.c" 
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-common -ffreestanding -fno-builtin -Wall -g -DDEBUG -D__STARTUP_CLEAR_BSS -DDEBUG_PRINT -DCPU_MK24FN1M0VLQ12 -DFSL_RTOS_FREE_RTOS -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/Board" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/Config" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/SDMMCPort" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/InFact" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/utilities" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/CMSIS/Include" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/inc" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/src" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/port" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src/fsl_sd_disk" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src/option" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/rtos/freertos_9.0.0/Source/include" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/rtos/freertos_9.0.0/Source/portable/GCC/ARM_CM4F" -std=gnu99 -mapcs -MMD -MP -MF"Source/KSDK/drivers/fsl_ftm.d" -MT"Source/KSDK/drivers/fsl_ftm.d" -c -o "Source/KSDK/drivers/fsl_ftm.o" "C:/dev/TestProj Firmware/Source/SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers/fsl_ftm.c" 

SECOND PRE BUILD STEP EXECUTED 

SubWCRev: 'C:\dev\TestProj Firmware' 
Last committed at revision 242 
Mixed revision range 242:243 
Unversioned items found 

CARRIES ON COMPILING 

Building file: C:/dev/TestProj Firmware/Source/SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers/fsl_gpio.c 
Invoking: Cross ARM C Compiler 
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-common -ffreestanding -fno-builtin -Wall -g -DDEBUG -D__STARTUP_CLEAR_BSS -DDEBUG_PRINT -DCPU_MK24FN1M0VLQ12 -DFSL_RTOS_FREE_RTOS -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/Board" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/Config" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/SDMMCPort" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/InFact" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/utilities" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/CMSIS/Include" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/inc" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/src" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/port" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src/fsl_sd_disk" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src/option" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/rtos/freertos_9.0.0/Source/include" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/rtos/freertos_9.0.0/Source/portable/GCC/ARM_CM4F" -std=gnu99 -mapcs -MMD -MP -MF"Source/KSDK/drivers/fsl_gpio.d" -MT"Source/KSDK/drivers/fsl_gpio.d" -c -o "Source/KSDK/drivers/fsl_gpio.o" "C:/dev/TestProj Firmware/Source/SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers/fsl_gpio.c" 
Finished building: C:/dev/ 
+0

我剛發現它可能是由於[this](https://bugs.eclipse.org/bugs/show_bug.cgi?id=501065)的問題。但是,如果我嘗試從make設置中刪除-j8,它就會回來,所以必須制定出如何做到這一點! –

回答

1

好的,看起來好像是由於here提到的問題。我從make命令中刪除了-j選項(在C++ Build設置中的behavior選項卡中找到),現在一切都按順序執行。不幸的是編譯速度很慢!

相關問題