Running out of memory when compiling in AROS linux hosted

amigamia · 5035

amigamia

  • Administrator
  • Member
  • *****
    • Posts: 134
    • Karma: +49/-0
    • AROS World
Reply #30 on: June 15, 2020, 02:56:02 PM
Hi amigamia,


Your file is there, thx.


You can press the uploads link (all the way up at the top, somewhere in the middle) and read that besides your upload, that there are a few others "waiting for approval".  ;)


It sometimes takes a little time for them files to get the approval stamp.

How do I replace the file that is in the uploads waiting for approval? The one I uploaded seemed to have a bug that caused to make it crash right before starting to play. I have since recompiled it and tested on my Dell Latitude D520 with latest Icaros installed.

Hi deadw00d, I scrapped the myrepo directory and did it all from scratch, retracing my steps. I managed to get everything to compile, including the contrib files. However, when I compile for AROS which gcc do I call and from where?
I have been using Icaros native to compile and it seems to do a good job without crashing. Is it better to compile code from the Linux terminal for AROS or straight from AROS native Shell?


deadwood

  • AROS Developer
  • Legendary Member
  • *****
    • Posts: 1524
    • Karma: +118/-0
Reply #31 on: June 15, 2020, 03:09:06 PM
Hi,

The toolchain is in myrepo/toolchain-alt-abiv0-i386/i386-aros-gcc and you also need to add includes (I wrote about it in some earlier posts).

About which one to use? For small applications, use whatever works best for you. For bigger ones, natives version might be too slow or ran out of RAM in my experience.