GCC for Aros in Aros 68k?

OlafS3 · 269

OlafS3

  • Senior Member
  • ****
    • Posts: 317
    • Karma: +45/-0
on: January 03, 2022, 04:47:46 PM
Is it possible to setup a environment GCC to compile Aros 68k software from within Aros 68k? And how to do ir?

I know the files in contrib (developer) but is there a manual how to make it working?



deadwood

  • AROS Developer
  • Legendary Member
  • *****
    • Posts: 748
    • Karma: +100/-0
Reply #1 on: January 03, 2022, 06:27:46 PM
In theory if you copy the contents of contrib archive into AROS directory, compiler should run out of the box - it should be alredy correctly configured. At least that's how it works on x86_64. To be on a safe side, set 128MB RAM and 512KB stack for gcc/g++ to work.



OlafS3

  • Senior Member
  • ****
    • Posts: 317
    • Karma: +45/-0
Reply #2 on: January 03, 2022, 06:58:41 PM
thanks

will try



AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 1512
    • Karma: +45/-1
  • AROS One
    • AROS One
Reply #3 on: January 03, 2022, 07:21:33 PM
In theory if you copy the contents of contrib archive into AROS directory, compiler should run out of the box - it should be alredy correctly configured. At least that's how it works on x86_64. To be on a safe side, set 128MB RAM and 512KB stack for gcc/g++ to work.

Theoretically it should work if you do the Assign to GCC, I tried it, but there is a problem if you try to run GCC the system says it is not an executable, it is an ELF, but it is not an AROS X86 file.


OlafS3

  • Senior Member
  • ****
    • Posts: 317
    • Karma: +45/-0
Reply #4 on: January 03, 2022, 08:19:53 PM
In theory if you copy the contents of contrib archive into AROS directory, compiler should run out of the box - it should be alredy correctly configured. At least that's how it works on x86_64. To be on a safe side, set 128MB RAM and 512KB stack for gcc/g++ to work.

Theoretically it should work if you do the Assign to GCC, I tried it, but there is a problem if you try to run GCC the system says it is not an executable, it is an ELF, but it is not an AROS X86 file.

yes that is what I was wondering too

no assigns needed?



AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 1512
    • Karma: +45/-1
  • AROS One
    • AROS One
Reply #5 on: January 03, 2022, 09:47:33 PM
I believe that this software should be used in Linux environment, the Assigns should be done in the Package-Startup as for AROS x86.

Assign BIN: Developer:bin
Path ADD Developer:bin

Assign GCC: SYS:Developer
Assign USR: GCC:
Assign LIB: GCC:lib
Path GCC:bin add