GCC do not recognized

Amiwell · 2843

AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3744
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #15 on: January 24, 2023, 06:11:20 AM
I also copied the deadwood files and it works.

--- Italiano ---

Anche io ho copiato i file di deadwood e funziona.


Amiwell

  • Legendary Member
  • *****
    • Posts: 2616
    • Karma: +35/-4
  • Peace
Reply #16 on: January 24, 2023, 06:51:18 AM
I can not explain why it does not work only with icaros that I tried long ago I work ???



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3744
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #17 on: January 24, 2023, 08:33:06 AM
As said you are doing something wrong, it works well with my AROS One and it works well with your TinyAROS which I fixed.

----- Italiano -----

Come detto sbagli qualcosa, funziona bene con il mio AROS One e funziona bene anche con il tuo TinyAROS che ho fixato.


Amiwell

  • Legendary Member
  • *****
    • Posts: 2616
    • Karma: +35/-4
  • Peace
Reply #18 on: January 25, 2023, 07:13:10 PM
mah what I do is install the build with the development tools then I copy the entire archive!



paolone

  • Legendary Member
  • *****
    • Posts: 568
    • Karma: +90/-0
Reply #19 on: January 26, 2023, 02:26:18 AM
I can not explain why it does not work only with icaros that I tried long ago I work ???


Please wait for a better Icaros beta. I have already successfully integrated gcc 6.5, although I haven't used it yet to actually compile anything.


AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3744
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #20 on: January 26, 2023, 04:10:22 AM
I have already tried the new D14 core and gcc 6.5 works fine, made a successful compilation, see screenshot


deadwood

  • AROS Developer
  • Legendary Member
  • *****
    • Posts: 1524
    • Karma: +118/-0
Reply #21 on: January 26, 2023, 04:57:21 AM
Note that GCC in D14/DC2 does not work for C++ yet.



Amiwell

  • Legendary Member
  • *****
    • Posts: 2616
    • Karma: +35/-4
  • Peace
Reply #22 on: January 26, 2023, 05:29:14 AM
I can not explain why it does not work only with icaros that I tried long ago I work ???


Please wait for a better Icaros beta. I have already successfully integrated gcc 6.5, although I haven't used it yet to actually compile anything.

ok thank you Paolo



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3744
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #23 on: January 26, 2023, 05:49:45 AM
Note that GCC in D14/DC2 does not work for C++ yet.

Thank you, as soon as C++ is available it will be mentioned among the Distribution updates


AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3744
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #24 on: January 26, 2023, 02:38:31 PM
Note that GCC in D14/DC2 does not work for C++ yet.

deadwood, just out of curiosity I ran C++ -v, and it seems to be working, see screenshot, as you know I am not a developer, how can I tell when GCC and C++ are not working ? thanks


deadwood

  • AROS Developer
  • Legendary Member
  • *****
    • Posts: 1524
    • Karma: +118/-0
Reply #25 on: January 27, 2023, 01:10:54 AM
You need to compile some example code to see whether it is really working.



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3744
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #26 on: January 27, 2023, 03:10:55 AM
Okay thank you, again out of curiosity, when I come across a small C++ source I will do some testing, at the moment I don't know where to look for it.


cavemann

  • Junior Member
  • **
    • Posts: 78
    • Karma: +86/-0
Reply #27 on: January 27, 2023, 01:02:29 PM
Okay thank you, again out of curiosity, when I come across a small C++ source I will do some testing, at the moment I don't know where to look for it.

Some small MUI examples are in the archive at http://archives.aros-exec.org/share/development/example/mui_examples.i386-aros.zip. They should  be easy to compile.
« Last Edit: January 27, 2023, 01:11:05 PM by cavemann »



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3744
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #28 on: January 27, 2023, 02:10:24 PM
Thanks cavemann very kind, as you can see from the screenshot with GCC 6.5.0 I compiled without problems some sources, with C++ I get errors, I also tried arinominate the sorgent .c to .cpp !

Question, but the MUI sources you linked, are they compaible also with C++ ?


cavemann

  • Junior Member
  • **
    • Posts: 78
    • Karma: +86/-0
Reply #29 on: January 27, 2023, 03:59:11 PM
Thanks cavemann very kind, as you can see from the screenshot with GCC 6.5.0 I compiled without problems some sources, with C++ I get errors, I also tried arinominate the sorgent .c to .cpp !

Question, but the MUI sources you linked, are they compaible also with C++ ?

In theory, it should work. But I would try some real c++ code to be sure. Have you tried using g++?