I'm using the makefile in the PFE example to compile.
However, I keep getting an error saying the path is not found.
I wonder if this error is caused by my not entering the path correctly in the makefile or if it's a problem with the Tresos_cmd.bat file.
This is the version of the file I'm using. Version compatibility seems to be fine.
PFE-FW_S32G_1.7.1
PFE-DRV_S32G_M7_MCAL_1.2.0
SW32G_RTD_4.4_4.0.2
C:\EB\tresos\bin\workspace>make generate
process_begin: CreateProcess(NULL, cygpath -m C:/EB/tresos/bin/workspace/MasterProject_RDB3, ...) failed.
make: Makefile:647: pipe: No such file or directory
C:/EB/tresos/bin/tresos_cmd.bat -data C:/EB/tresos/bin/workspace importProject 2>&1
C:/EB/tresos/bin/tresos_cmd.bat: line 1: @echo: command not found
C:/EB/tresos/bin/tresos_cmd.bat: line 2: REM: command not found
C:/EB/tresos/bin/tresos_cmd.bat: line 4: IF: command not found
C:/EB/tresos/bin/tresos_cmd.bat: line 5: IF: command not found
C:/EB/tresos/bin/tresos_cmd.bat: line 6: IF: command not found
C:/EB/tresos/bin/tresos_cmd.bat: line 7: IF: command not found
C:/EB/tresos/bin/tresos_cmd.bat: line 8: IF: command not found
C:/EB/tresos/bin/tresos_cmd.bat: line 9: IF: command not found
C:/EB/tresos/bin/tresos_cmd.bat: line 10: IF: command not found
C:/EB/tresos/bin/tresos_cmd.bat: line 11: IF: command not found
C:/EB/tresos/bin/tresos_cmd.bat: line 13: goto: command not found
C:/EB/tresos/bin/tresos_cmd.bat: line 15: :NOJAVA: command not found
ERROR: java not found: %JAVA%
C:/EB/tresos/bin/tresos_cmd.bat: line 17: EXIT: command not found
C:/EB/tresos/bin/tresos_cmd.bat: line 19: :NOWINDOWS: command not found
ERROR: tresos only runs on Windows2000 and Windows/XP
C:/EB/tresos/bin/tresos_cmd.bat: line 21: EXIT: command not found
C:/EB/tresos/bin/tresos_cmd.bat: line 23: :START: command not found
C:/EB/tresos/bin/tresos_cmd.bat: line 24: REM: command not found
C:/EB/tresos/bin/tresos_cmd.bat: line 25: SET: command not found
C:/EB/tresos/bin/tresos_cmd.bat: line 26: SET: command not found
C:/EB/tresos/bin/tresos_cmd.bat: line 48: unexpected EOF while looking for matching `"'
C:/EB/tresos/bin/tresos_cmd.bat: line 54: syntax error: unexpected end of file
Makefile:647: recipe for target 'generate' failed
make: [generate] Error 2 (ignored)
C:/EB/tresos/bin/tresos_cmd.bat -data C:/EB/tresos/bin/workspace autoconfigure MasterProject_RDB3 GenerateAllVariants 2>&1
C:/EB/tresos/bin/tresos_cmd.bat: line 1: @echo: command not found
C:/EB/tresos/bin/tresos_cmd.bat: line 2: REM: command not found
C:/EB/tresos/bin/tresos_cmd.bat: line 4: IF: command not found
C:/EB/tresos/bin/tresos_cmd.bat: line 5: IF: command not found
C:/EB/tresos/bin/tresos_cmd.bat: line 6: IF: command not found
C:/EB/tresos/bin/tresos_cmd.bat: line 7: IF: command not found
C:/EB/tresos/bin/tresos_cmd.bat: line 8: IF: command not found
C:/EB/tresos/bin/tresos_cmd.bat: line 9: IF: command not found
C:/EB/tresos/bin/tresos_cmd.bat: line 10: IF: command not found
C:/EB/tresos/bin/tresos_cmd.bat: line 11: IF: command not found
C:/EB/tresos/bin/tresos_cmd.bat: line 13: goto: command not found
C:/EB/tresos/bin/tresos_cmd.bat: line 15: :NOJAVA: command not found
ERROR: java not found: %JAVA%
C:/EB/tresos/bin/tresos_cmd.bat: line 17: EXIT: command not found
C:/EB/tresos/bin/tresos_cmd.bat: line 19: :NOWINDOWS: command not found
ERROR: tresos only runs on Windows2000 and Windows/XP
C:/EB/tresos/bin/tresos_cmd.bat: line 21: EXIT: command not found
C:/EB/tresos/bin/tresos_cmd.bat: line 23: :START: command not found
C:/EB/tresos/bin/tresos_cmd.bat: line 24: REM: command not found
C:/EB/tresos/bin/tresos_cmd.bat: line 25: SET: command not found
C:/EB/tresos/bin/tresos_cmd.bat: line 26: SET: command not found
C:/EB/tresos/bin/tresos_cmd.bat: line 48: unexpected EOF while looking for matching `"'
C:/EB/tresos/bin/tresos_cmd.bat: line 54: syntax error: unexpected end of file
Makefile:647: recipe for target 'generate' failed
make: *** [generate] Error 2
C:\EB\tresos\bin\workspace>
Upload the relevant files, just in case.
Solved! Go to Solution.
For this issue, I went to that page, downloaded the Arm GNU Toolchain, and changed the path to GCC_DIR in the makefile, which solved the problem.
https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads
(I want it to be helpful to someone who has a similar problem to mine)
But I have another problem—it's never-ending. I'll have to create a new case to ask the question.
Thank you for your help on this issue.
Hello, @ Youngsoo_do
Thanks for the question.
Let me summarize the building steps for your reference:
path=$SW32G_RTD_4.4_4.0.2_PATH
After successfully generation,
Copy generate_RDB3/* to $PFE-DRV_S32G_M7_MCAL_1.2.0\example_application
GCC_DIR ?= c:/NXP/S32DS.3.5/S32DS/build_tools/gcc_v9.2/gcc-9.2-arm32-eabi #depend on your path
TRESOS_DIR ?= C:/EB/tresos # EB installation path
PLUGINS_DIR ?= $RTD_4.0.2_installation_path/eclipse/plugins
TRESOS_WORKSPACE_DIR ?= $(TRESOS_DIR)/workspace
FW_DIR ?= $pfe_FW_installation_path
Hope it helps
Best Regards
Chenyin
Thank you very much for your response.
I tried doing it the way you suggested.
However, I got the following error in the "make build" command.
The end of the build says that the file "nosys.specs" was not found.
Does anyone know of a solution to this problem?
$ make buil
CC generate_RDB3/src/isa.c
CC generate_RDB3/src/Eth_PFE_LLD.c
CC generate_RDB3/src/fci.c
CC generate_RDB3/src/fci_core_autosar.c
CC generate_RDB3/src/Serdes_Ipw_PBCfg.c
CC generate_RDB3/src/pfe_bus_err_csr.c
CC generate_RDB3/src/Eth_43_PFE_VS_0_PBcfg.c
CC generate_RDB3/src/fifo.c
CC generate_RDB3/src/pfe_ecc_err_csr.c
CC generate_RDB3/src/elf.c
CC generate_RDB3/src/Rtc_Ip_VS_0_PBcfg.c
CC generate_RDB3/src/pfe_rtable.c
CC generate_RDB3/src/Platform_Ipw_Cfg.c
CC generate_RDB3/src/fci_rt_db.c
CC generate_RDB3/src/pfe_tmu.c
CC generate_RDB3/src/pfe_emac_slave.c
CC generate_RDB3/src/fci_fp.c
CC generate_RDB3/src/fci_mirror.c
CC generate_RDB3/src/Platform_Cfg.c
CC generate_RDB3/src/pfe_emac_csr.c
CC generate_RDB3/src/pfe_phy_if.c
CC generate_RDB3/src/pfe_bus_err.c
CC generate_RDB3/src/Dma_Ip_VS_0_PBcfg.c
CC generate_RDB3/src/libfci_autosar.c
CC generate_RDB3/src/fci_qos.c
CC generate_RDB3/src/pfe_host_fail_stop_csr.c
CC generate_RDB3/src/fci_l2br_domains.c
CC generate_RDB3/src/pfe_wdt_csr.c
CC generate_RDB3/src/pfe_fw_feature.c
CC generate_RDB3/src/OsIf_Cfg.c
CC generate_RDB3/src/pfe_hm.c
CC generate_RDB3/src/Serdes_Ip_PBCfg.c
CC generate_RDB3/src/oal_irq_autosar.c
CC generate_RDB3/src/Clock_Ip_Cfg.c
CC generate_RDB3/src/Power_Ip_VS_0_PBcfg.c
CC generate_RDB3/src/pfe_hif_ring.c
CC generate_RDB3/src/oal_time_autosar.c
CC generate_RDB3/src/pfe_fw_fail_stop_csr.c
CC generate_RDB3/src/pfe_log_if.c
CC generate_RDB3/src/IntCtrl_Ip_Cfg.c
CC generate_RDB3/src/pfe_emac.c
CC generate_RDB3/src/pfe_gpi_csr.c
CC generate_RDB3/src/fci_routes.c
CC generate_RDB3/src/Gpt_VS_0_PBcfg.c
CC generate_RDB3/src/pfe_class.c
CC generate_RDB3/src/pfe_bmu.c
CC generate_RDB3/src/pfe_minihif_drv.c
CC generate_RDB3/src/pfe_hif_nocpy_csr.c
CC generate_RDB3/src/pfe_log_if_slave.c
CC generate_RDB3/src/Siul2_Port_Ip_VS_0_PBcfg.c
CC generate_RDB3/src/pfe_platform_slave.c
CC generate_RDB3/src/Port_Cfg.c
CC generate_RDB3/src/pfe_l2br_table.c
CC generate_RDB3/src/Mcu_VS_0_PBcfg.c
CC generate_RDB3/src/pfe_phy_if_slave.c
CC generate_RDB3/src/nxp_snprintf.c
CC generate_RDB3/src/fci_l2br.c
CC generate_RDB3/src/pfe_fw_fail_stop.c
CC generate_RDB3/src/Ram_Ip_Cfg.c
CC generate_RDB3/src/Mcu_Cfg.c
CC generate_RDB3/src/pfe_gpi.c
CC generate_RDB3/src/pfe_host_fail_stop.c
CC generate_RDB3/src/oal_job_autosar.c
CC generate_RDB3/src/pfe_util.c
CC generate_RDB3/src/Ftm_Gpt_Ip_VS_0_PBcfg.c
CC generate_RDB3/src/fci_connections.c
CC generate_RDB3/src/pfe_if_db.c
CC generate_RDB3/src/Eth_43_PFE_Cfg.c
CC generate_RDB3/src/pfe_bmu_csr.c
CC generate_RDB3/src/pfe_fail_stop_csr.c
CC generate_RDB3/src/pfe_l2br.c
CC generate_RDB3/src/CDD_Mcl_Cfg.c
CC generate_RDB3/src/Stm_Ip_VS_0_PBcfg.c
CC generate_RDB3/src/pfe_feature_mgr.c
CC generate_RDB3/src/pfe_util_csr.c
CC generate_RDB3/src/Gpt_Ipw_VS_0_PBcfg.c
CC generate_RDB3/src/pfe_hw_feature.c
CC generate_RDB3/src/pfe_idex.c
CC generate_RDB3/src/pfe_hif_ptp.c
CC generate_RDB3/src/fci_fp_db.c
CC generate_RDB3/src/Dma_Ip_Cfg.c
CC generate_RDB3/src/pfe_hif_csr.c
CC generate_RDB3/src/pfe_fail_stop.c
CC generate_RDB3/src/pfe_fp.c
CC generate_RDB3/src/pfe_mirror.c
CC generate_RDB3/src/pfe_platform_master.c
CC generate_RDB3/src/oal_mm_autosar.c
CC generate_RDB3/src/pfe_parity_csr.c
CC generate_RDB3/src/pfe_wdt.c
CC generate_RDB3/src/Power_Ip_Cfg.c
CC generate_RDB3/src/oal_util_net_autosar.c
CC generate_RDB3/src/pfe_hif_chnl.c
CC generate_RDB3/src/Serdes_Cfg.c
CC generate_RDB3/src/Clock_Ip_VS_0_PBcfg.c
CC generate_RDB3/src/fci_interfaces.c
CC generate_RDB3/src/pfe_hif.c
CC generate_RDB3/src/fci_owner.c
CC generate_RDB3/src/fci_fw_features.c
CC generate_RDB3/src/Eth_43_PFE_Irq.c
CC generate_RDB3/src/pfe_hif_drv.c
CC generate_RDB3/src/pfe_class_csr.c
CC generate_RDB3/src/Eth_43_PFE.c
CC generate_RDB3/src/EthIf_Cbk.c
CC generate_RDB3/src/pfe_parity.c
CC generate_RDB3/src/CDD_Mcl_VS_0_PBcfg.c
CC generate_RDB3/src/Pit_Ip_VS_0_PBcfg.c
CC generate_RDB3/src/pfe_hif_nocpy.c
CC generate_RDB3/src/fci_hm.c
CC generate_RDB3/src/Port_VS_0_PBcfg.c
CC generate_RDB3/src/pfe_ecc_err.c
CC generate_RDB3/src/oal_util_autosar.c
CC generate_RDB3/src/pfe_pe.c
CC generate_RDB3/src/pfe_mac_db.c
CC generate_RDB3/src/blalloc.c
CC generate_RDB3/src/autolibc.c
CC generate_RDB3/src/Gpt_Cfg.c
CC generate_RDB3/src/fci_timer_owner.c
CC generate_RDB3/src/Ram_Ip_VS_0_PBcfg.c
CC generate_RDB3/src/pfe_tmu_csr.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Platform_TS_T40D11M40I2R0/startup/src/nvic.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Platform_TS_T40D11M40I2R0/startup/src/sys_init.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Platform_TS_T40D11M40I2R0/startup/src/system.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Platform_TS_T40D11M40I2R0/startup/src/m7/startup.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Platform_TS_T40D11M40I2R0/startup/src/m7/exceptions.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/BaseNXP_TS_T40D11M40I2R0/src/OsIf_Interrupts.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/BaseNXP_TS_T40D11M40I2R0/src/OsIf_Timer_System.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/BaseNXP_TS_T40D11M40I2R0/src/OsIf_Timer_System_Internal_Systick.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/BaseNXP_TS_T40D11M40I2R0/src/OsIf_Timer.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/BaseNXP_TS_T40D11M40I2R0/src/OsIf_Timer_System_Internal_GenericTimer.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Det_TS_T40D11M40I2R0/src/Det_stub.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Det_TS_T40D11M40I2R0/src/Det.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Dem_TS_T40D11M40I2R0/src/Dem_stub.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Dem_TS_T40D11M40I2R0/src/Dem.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Gpt_TS_T40D11M40I2R0/src/Gpt.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Gpt_TS_T40D11M40I2R0/src/Pit_Ip.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Gpt_TS_T40D11M40I2R0/src/Ftm_Gpt_Ip.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Gpt_TS_T40D11M40I2R0/src/Stm_Ip.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Gpt_TS_T40D11M40I2R0/src/Rtc_Ip.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Gpt_TS_T40D11M40I2R0/src/Gpt_Ipw.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Mcu_TS_T40D11M40I2R0/src/Clock_Ip_Selector.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Mcu_TS_T40D11M40I2R0/src/Clock_Ip_Data.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Mcu_TS_T40D11M40I2R0/src/Clock_Ip_Data2.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Mcu_TS_T40D11M40I2R0/src/Clock_Ip_Frequency2.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Mcu_TS_T40D11M40I2R0/src/Clock_Ip_Specific.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Mcu_TS_T40D11M40I2R0/src/Power_Ip.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Mcu_TS_T40D11M40I2R0/src/Clock_Ip_ExtOsc.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Mcu_TS_T40D11M40I2R0/src/Clock_Ip.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Mcu_TS_T40D11M40I2R0/src/Clock_Ip_Frequency1.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Mcu_TS_T40D11M40I2R0/src/Clock_Ip_Specific2.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Mcu_TS_T40D11M40I2R0/src/Clock_Ip_Irq.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Mcu_TS_T40D11M40I2R0/src/Clock_Ip_Frequency.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Mcu_TS_T40D11M40I2R0/src/Power_Ip_CortexM7.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Mcu_TS_T40D11M40I2R0/src/Mcu_Dem_Wrapper.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Mcu_TS_T40D11M40I2R0/src/Clock_Ip_Gate.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Mcu_TS_T40D11M40I2R0/src/Ram_Ip.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Mcu_TS_T40D11M40I2R0/src/Clock_Ip_Data1.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Mcu_TS_T40D11M40I2R0/src/Clock_Ip_FracDiv.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Mcu_TS_T40D11M40I2R0/src/Clock_Ip_DividerTrigger.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Mcu_TS_T40D11M40I2R0/src/Clock_Ip_IntOsc.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Mcu_TS_T40D11M40I2R0/src/Power_Ip_CortexA.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Mcu_TS_T40D11M40I2R0/src/Clock_Ip_Specific1.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Mcu_TS_T40D11M40I2R0/src/Power_Ip_PMC.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Mcu_TS_T40D11M40I2R0/src/Power_Ip_MSCM.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Mcu_TS_T40D11M40I2R0/src/Clock_Ip_Monitor.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Mcu_TS_T40D11M40I2R0/src/Mcu_Ipw.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Mcu_TS_T40D11M40I2R0/src/Clock_Ip_Divider.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Mcu_TS_T40D11M40I2R0/src/Power_Ip_Private.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Mcu_TS_T40D11M40I2R0/src/Power_Ip_MC_ME.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Mcu_TS_T40D11M40I2R0/src/Clock_Ip_ProgFreqSwitch.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Mcu_TS_T40D11M40I2R0/src/Clock_Ip_Pll.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Mcu_TS_T40D11M40I2R0/src/Power_Ip_MC_RGM.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Mcu_TS_T40D11M40I2R0/src/Mcu.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Mcu_TS_T40D11M40I2R0/src/Power_Ip_MC_RGM_Irq.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Rte_TS_T40D11M40I2R0/src/SchM_Icu.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Rte_TS_T40D11M40I2R0/src/SchM_Fee.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Rte_TS_T40D11M40I2R0/src/SchM_Ocu.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Rte_TS_T40D11M40I2R0/src/SchM_Pmic.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Rte_TS_T40D11M40I2R0/src/SchM_Fr_43_LLCE.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Rte_TS_T40D11M40I2R0/src/SchM_Pwm.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Rte_TS_T40D11M40I2R0/src/SchM_Uart.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Rte_TS_T40D11M40I2R0/src/SchM_Fls.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Rte_TS_T40D11M40I2R0/src/SchM_Eth.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Rte_TS_T40D11M40I2R0/src/SchM_I2c.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Rte_TS_T40D11M40I2R0/src/SchM_Port.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Rte_TS_T40D11M40I2R0/src/SchM_EthTrcv_43_PHY.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Rte_TS_T40D11M40I2R0/src/SchM_Gpt.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Rte_TS_T40D11M40I2R0/src/SchM_Mcu.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Rte_TS_T40D11M40I2R0/src/SchM_Spi.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Rte_TS_T40D11M40I2R0/src/SchM_Can_43_LLCE.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Rte_TS_T40D11M40I2R0/src/SchM_Fr.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Rte_TS_T40D11M40I2R0/src/SchM_Ocotp.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Rte_TS_T40D11M40I2R0/src/SchM_Thermal.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Rte_TS_T40D11M40I2R0/src/SchM_Eth_43_PFE.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Rte_TS_T40D11M40I2R0/src/SchM_EthSwt_43_SJA11XX.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Rte_TS_T40D11M40I2R0/src/SchM_Eep.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Rte_TS_T40D11M40I2R0/src/SchM_Mcl.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Rte_TS_T40D11M40I2R0/src/SchM_Adc.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Rte_TS_T40D11M40I2R0/src/SchM_Wdg.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Rte_TS_T40D11M40I2R0/src/SchM_Dio.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Rte_TS_T40D11M40I2R0/src/SchM_Qdec.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Rte_TS_T40D11M40I2R0/src/SchM_Serdes.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Rte_TS_T40D11M40I2R0/src/SchM_Rm.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Rte_TS_T40D11M40I2R0/src/SchM_Crypto.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Rte_TS_T40D11M40I2R0/src/SchM_Can.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Rte_TS_T40D11M40I2R0/src/SchM_Lin.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Rte_TS_T40D11M40I2R0/src/SchM_CanTrcv_tja115x.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Rte_TS_T40D11M40I2R0/src/SchM_Ipcf.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Rte_TS_T40D11M40I2R0/src/SchM_Wdg_43_VR5510.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Rte_TS_T40D11M40I2R0/src/SchM_Crc.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Port_TS_T40D11M40I2R0/src/Siul2_Port_Ip.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Port_TS_T40D11M40I2R0/src/Port.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Port_TS_T40D11M40I2R0/src/Port_Ipw.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Platform_TS_T40D11M40I2R0/src/System_Ip.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Platform_TS_T40D11M40I2R0/src/IntCtrl_Ip.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Platform_TS_T40D11M40I2R0/src/Platform_Ipw.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Platform_TS_T40D11M40I2R0/src/Platform.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/EthSwt_TS_T40D11M40I2R0/src/EthSwt.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/EthTrcv_TS_T40D11M40I2R0/src/EthTrcv.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Serdes_TS_T40D11M40I2R0/src/Serdes_Ip_HwAccess.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Serdes_TS_T40D11M40I2R0/src/Serdes.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Serdes_TS_T40D11M40I2R0/src/Serdes_Ipw.c
CC C:/NXP/SW32G_RTD_4.4_4.0.2/eclipse/plugins/Serdes_TS_T40D11M40I2R0/src/Serdes_Ip.c
LD output_RDB3/main_RDB3.elf
C:/NXP/S32DS.3.5/S32DS/build_tools/gcc_v9.2/gcc-9.2-arm32-eabi/bin/arm-none-eabi-gcc.exe --entry=Reset_Handler -Tlinker/linker_maste
r_app/autosar_intram.gld --sysroot="C:/NXP/S32DS.3.5/S32DS/build_tools/gcc_v9.2/gcc-9.2-arm32-eabi/arm-none-eabi/newlib" -specs=nano
.specs -specs=nosys.specs -nostartfiles -mcpu=cortex-m7 -mthumb -mfpu=fpv5-sp-d16 -mfloat-abi=hard -ggdb3 -Wl,-Map,output_RDB3/main_
RDB3.map -lc -lm -lgcc -mlittle-endian output_RDB3/isa.o output_RDB3/Eth_PFE_LLD.o output_RDB3/fci.o output_RDB3/fci_core_autosar.o
output_RDB3/Serdes_Ipw_PBCfg.o output_RDB3/pfe_bus_err_csr.o output_RDB3/Eth_43_PFE_VS_0_PBcfg.o output_RDB3/fifo.o output_RDB3/pfe_
ecc_err_csr.o output_RDB3/elf.o output_RDB3/Rtc_Ip_VS_0_PBcfg.o output_RDB3/pfe_rtable.o output_RDB3/Platform_Ipw_Cfg.o output_RDB3/
fci_rt_db.o output_RDB3/pfe_tmu.o output_RDB3/pfe_emac_slave.o output_RDB3/fci_fp.o output_RDB3/fci_mirror.o output_RDB3/Platform_Cf
g.o output_RDB3/pfe_emac_csr.o output_RDB3/pfe_phy_if.o output_RDB3/pfe_bus_err.o output_RDB3/Dma_Ip_VS_0_PBcfg.o output_RDB3/libfci
_autosar.o output_RDB3/fci_qos.o output_RDB3/pfe_host_fail_stop_csr.o output_RDB3/fci_l2br_domains.o output_RDB3/pfe_wdt_csr.o outpu
t_RDB3/pfe_fw_feature.o output_RDB3/OsIf_Cfg.o output_RDB3/pfe_hm.o output_RDB3/Serdes_Ip_PBCfg.o output_RDB3/oal_irq_autosar.o outp
ut_RDB3/Clock_Ip_Cfg.o output_RDB3/Power_Ip_VS_0_PBcfg.o output_RDB3/pfe_hif_ring.o output_RDB3/oal_time_autosar.o output_RDB3/pfe_f
w_fail_stop_csr.o output_RDB3/pfe_log_if.o output_RDB3/IntCtrl_Ip_Cfg.o output_RDB3/pfe_emac.o output_RDB3/pfe_gpi_csr.o output_RDB3
/fci_routes.o output_RDB3/Gpt_VS_0_PBcfg.o output_RDB3/pfe_class.o output_RDB3/pfe_bmu.o output_RDB3/pfe_minihif_drv.o output_RDB3/p
fe_hif_nocpy_csr.o output_RDB3/pfe_log_if_slave.o output_RDB3/Siul2_Port_Ip_VS_0_PBcfg.o output_RDB3/pfe_platform_slave.o output_RDB
3/Port_Cfg.o output_RDB3/pfe_l2br_table.o output_RDB3/Mcu_VS_0_PBcfg.o output_RDB3/pfe_phy_if_slave.o output_RDB3/nxp_snprintf.o out
put_RDB3/fci_l2br.o output_RDB3/pfe_fw_fail_stop.o output_RDB3/Ram_Ip_Cfg.o output_RDB3/Mcu_Cfg.o output_RDB3/pfe_gpi.o output_RDB3/
pfe_host_fail_stop.o output_RDB3/oal_job_autosar.o output_RDB3/pfe_util.o output_RDB3/Ftm_Gpt_Ip_VS_0_PBcfg.o output_RDB3/fci_connec
tions.o output_RDB3/pfe_if_db.o output_RDB3/Eth_43_PFE_Cfg.o output_RDB3/pfe_bmu_csr.o output_RDB3/pfe_fail_stop_csr.o output_RDB3/p
fe_l2br.o output_RDB3/CDD_Mcl_Cfg.o output_RDB3/Stm_Ip_VS_0_PBcfg.o output_RDB3/pfe_feature_mgr.o output_RDB3/pfe_util_csr.o output_
RDB3/Gpt_Ipw_VS_0_PBcfg.o output_RDB3/pfe_hw_feature.o output_RDB3/pfe_idex.o output_RDB3/pfe_hif_ptp.o output_RDB3/fci_fp_db.o outp
ut_RDB3/Dma_Ip_Cfg.o output_RDB3/pfe_hif_csr.o output_RDB3/pfe_fail_stop.o output_RDB3/pfe_fp.o output_RDB3/pfe_mirror.o output_RDB3
/pfe_platform_master.o output_RDB3/oal_mm_autosar.o output_RDB3/pfe_parity_csr.o output_RDB3/pfe_wdt.o output_RDB3/Power_Ip_Cfg.o ou
tput_RDB3/oal_util_net_autosar.o output_RDB3/pfe_hif_chnl.o output_RDB3/Serdes_Cfg.o output_RDB3/Clock_Ip_VS_0_PBcfg.o output_RDB3/f
ci_interfaces.o output_RDB3/pfe_hif.o output_RDB3/fci_owner.o output_RDB3/fci_fw_features.o output_RDB3/Eth_43_PFE_Irq.o output_RDB3
/pfe_hif_drv.o output_RDB3/pfe_class_csr.o output_RDB3/Eth_43_PFE.o output_RDB3/EthIf_Cbk.o output_RDB3/pfe_parity.o output_RDB3/CDD
_Mcl_VS_0_PBcfg.o output_RDB3/Pit_Ip_VS_0_PBcfg.o output_RDB3/pfe_hif_nocpy.o output_RDB3/fci_hm.o output_RDB3/Port_VS_0_PBcfg.o out
put_RDB3/pfe_ecc_err.o output_RDB3/oal_util_autosar.o output_RDB3/pfe_pe.o output_RDB3/pfe_mac_db.o output_RDB3/blalloc.o output_RDB
3/autolibc.o output_RDB3/Gpt_Cfg.o output_RDB3/fci_timer_owner.o output_RDB3/Ram_Ip_VS_0_PBcfg.o output_RDB3/pfe_tmu_csr.o output_RD
B3/nvic.o output_RDB3/sys_init.o output_RDB3/system.o output_RDB3/startup.o output_RDB3/exceptions.o output_RDB3/OsIf_Interrupts.o o
utput_RDB3/OsIf_Timer_System.o output_RDB3/OsIf_Timer_System_Internal_Systick.o output_RDB3/OsIf_Timer.o output_RDB3/OsIf_Timer_Syst
em_Internal_GenericTimer.o output_RDB3/Det_stub.o output_RDB3/Det.o output_RDB3/Dem_stub.o output_RDB3/Dem.o output_RDB3/Gpt.o outpu
t_RDB3/Pit_Ip.o output_RDB3/Ftm_Gpt_Ip.o output_RDB3/Stm_Ip.o output_RDB3/Rtc_Ip.o output_RDB3/Gpt_Ipw.o output_RDB3/Clock_Ip_Select
or.o output_RDB3/Clock_Ip_Data.o output_RDB3/Clock_Ip_Data2.o output_RDB3/Clock_Ip_Frequency2.o output_RDB3/Clock_Ip_Specific.o outp
ut_RDB3/Power_Ip.o output_RDB3/Clock_Ip_ExtOsc.o output_RDB3/Clock_Ip.o output_RDB3/Clock_Ip_Frequency1.o output_RDB3/Clock_Ip_Speci
fic2.o output_RDB3/Clock_Ip_Irq.o output_RDB3/Clock_Ip_Frequency.o output_RDB3/Power_Ip_CortexM7.o output_RDB3/Mcu_Dem_Wrapper.o out
put_RDB3/Clock_Ip_Gate.o output_RDB3/Ram_Ip.o output_RDB3/Clock_Ip_Data1.o output_RDB3/Clock_Ip_FracDiv.o output_RDB3/Clock_Ip_Divid
erTrigger.o output_RDB3/Clock_Ip_IntOsc.o output_RDB3/Power_Ip_CortexA.o output_RDB3/Clock_Ip_Specific1.o output_RDB3/Power_Ip_PMC.o
output_RDB3/Power_Ip_MSCM.o output_RDB3/Clock_Ip_Monitor.o output_RDB3/Mcu_Ipw.o output_RDB3/Clock_Ip_Divider.o output_RDB3/Power_I
p_Private.o output_RDB3/Power_Ip_MC_ME.o output_RDB3/Clock_Ip_ProgFreqSwitch.o output_RDB3/Clock_Ip_Pll.o output_RDB3/Power_Ip_MC_RG
M.o output_RDB3/Mcu.o output_RDB3/Power_Ip_MC_RGM_Irq.o output_RDB3/SchM_Icu.o output_RDB3/SchM_Fee.o output_RDB3/SchM_Ocu.o output_
RDB3/SchM_Pmic.o output_RDB3/SchM_Fr_43_LLCE.o output_RDB3/SchM_Pwm.o output_RDB3/SchM_Uart.o output_RDB3/SchM_Fls.o output_RDB3/Sch
M_Eth.o output_RDB3/SchM_I2c.o output_RDB3/SchM_Port.o output_RDB3/SchM_EthTrcv_43_PHY.o output_RDB3/SchM_Gpt.o output_RDB3/SchM_Mcu
.o output_RDB3/SchM_Spi.o output_RDB3/SchM_Can_43_LLCE.o output_RDB3/SchM_Fr.o output_RDB3/SchM_Ocotp.o output_RDB3/SchM_Thermal.o o
utput_RDB3/SchM_Eth_43_PFE.o output_RDB3/SchM_EthSwt_43_SJA11XX.o output_RDB3/SchM_Eep.o output_RDB3/SchM_Mcl.o output_RDB3/SchM_Adc
.o output_RDB3/SchM_Wdg.o output_RDB3/SchM_Dio.o output_RDB3/SchM_Qdec.o output_RDB3/SchM_Serdes.o output_RDB3/SchM_Rm.o output_RDB3
/SchM_Crypto.o output_RDB3/SchM_Can.o output_RDB3/SchM_Lin.o output_RDB3/SchM_CanTrcv_tja115x.o output_RDB3/SchM_Ipcf.o output_RDB3/
SchM_Wdg_43_VR5510.o output_RDB3/SchM_Crc.o output_RDB3/Siul2_Port_Ip.o output_RDB3/Port.o output_RDB3/Port_Ipw.o output_RDB3/System
_Ip.o output_RDB3/IntCtrl_Ip.o output_RDB3/Platform_Ipw.o output_RDB3/Platform.o output_RDB3/EthSwt.o output_RDB3/EthTrcv.o output_R
DB3/Serdes_Ip_HwAccess.o output_RDB3/Serdes.o output_RDB3/Serdes_Ipw.o output_RDB3/Serdes_Ip.o output_RDB3/startup_cm7.o output_RDB3
/Vector_Table.o -o output_RDB3/main_RDB3.elf
arm-none-eabi-gcc.exe: fatal error: cannot read spec file 'nosys.specs': No such file or directory
compilation terminated.
Makefile:627: recipe for target 'output_RDB3/main_RDB3.elf' failed
make: *** [output_RDB3/main_RDB3.elf] Error 1
For this issue, I installed the Cygwin program from https://www.cygwin.com/install.html, then generated it using Cygdrive.
For this issue, I went to that page, downloaded the Arm GNU Toolchain, and changed the path to GCC_DIR in the makefile, which solved the problem.
https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads
(I want it to be helpful to someone who has a similar problem to mine)
But I have another problem—it's never-ending. I'll have to create a new case to ask the question.
Thank you for your help on this issue.
This answer is not a fundamental solution to the problem.
The answer to this problem is
C:\NXP\S32DS.3.5\S32DS\build_tools\gcc_v9.2\gcc-9.2-arm32-eabi\arm-none-eabi\newlib
If you go there, you'll find a folder called newlib. you change this newlib to lib.
I spent a few days struggling with this.