Hello,
I am having issues with cross compiling my code on the local machine and sending the binaries to raspberry pi to be run. My project includes multiple libraries which are being changed thus need to be recompiled.
Now this issue only happens when i try to optimize the code.
With : –std=c++0x -ggdb -ffunction-sections -O0 -Wno-deprecated everything works perfectly fine,
but with : -std=c++0x -ggdb -ffunction-sections -O3 -Wno-deprecated i get the “cc1plus.exe: out of memory allocating 1335264 bytes” error.
Any idea what could be going wrong?
Thank you
-
This topic was modified 8 years, 10 months ago by John24.