Hello
I have a problem to setup cross compile environment for imx6slx on window host computer
I will explain my setup procedure.
I used eclipse for setting on windows 10. eclipse version is "Eclipse IDE for C/C++ Developers Version: 2020-03 (4.15.0)".
I got cross compiler that is windows 32bit installer(Signed for Windows 10 and later) (Formerly SHA2 signed binary) from https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-...
I installed eclipse plugin for "gnu mcu eclipse 4.7.2". setup environment is below
1. Project -> properties -> C/C++ build->setting->Toolchains's directory is set "C:\Program Files (x86)\GNU Arm Embedded Toolchain\9 2020-q2-update\bin"
2. In Project -> properties -> C/C++ build->setting->Target Processor, I set like "cortex-a9, armv7-a, ARM(-marm), Little endian(-mlittle-endian), FP instructions(Hard), neon, Disabled(-mno-unaligned-access)".
Compile is completed but i got "segmentation fault" when i ran after uploaded xxxx.elf file to target cpu.
I guess I should change option in PRJ->properties->C/C++ build->setting->GNU ARM Cross C Linker or add *.ld file in options. but i don't know how to do exactly.
Currently, GNU ARM Cross C Linker's option is "-Xlinker --gc-sections -Wl,-Map,"4444.map" --specs=rdimon.specs -Wl,--start-group -lgcc -lc -lc -lm -lrdimon -Wl,--end-group" on eclipse of my host computer
Please, tell me where *.ld of imx6slx file is, or how to set up(such as GNU ARM Cross C Linker options etc.) this correctly.
thanks
Hi JB
may be usefil to check eclipse usage with i.MX6
https://community.nxp.com/docs/DOC-103736
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
HI igor
Integrating Processor Expert for i.MX and ARM GCC with Eclipse <-
Best regards
JB