Hello ,
i am using gcc-arm-none-eabi-7-2018-q2-update-win32 for windows and i am trying to build my software for IMX8 (M4 core) but i got this error during compilation cc1.exe: out of memory allocating 268439551 bytes , how this error could be solved ?
Thanks in advance
It is not a clue at all .. it is all about the file size if the file size is small it will compile and this problem seems regarding the memory used by the compiler (all of that which i already know before posting) .. so do you have any other clues ??? as my question was regarding the a work around for the problem
So if you knew it, why did you not mention it in your original post? Or your earlier replies?
We can't read your mind, you know!
Mohamed_Tarek said:It is not a clue at all
Of course it is a clue!
Mohamed_Tarek said:it is all about the file size
Exactly - that is what the clue tells you!
Mohamed_Tarek said: a work around for the problem
Make the file smaller!
Again, 208 MB is unreasonably large for a source file.
Have you checked the compiler specs to see if there is some specific limit(s) that this file is exceeding?
You have 2 options:
To make suggestions for 2, we would have to know what your goal is:
http://www.catb.org/esr/faqs/smart-questions.html#goal
There are plenty of other ways to include arbitrary binary data into a build image ...