GCC do not recognized

Amiwell · 492

AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 2642
    • Karma: +64/-1
  • AROS One
    • AROS One
Reply #15 on: January 24, 2023, 01:11:20 PM
I also copied the deadwood files and it works.

--- Italiano ---

Anche io ho copiato i file di deadwood e funziona.


Amiwell

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


AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 2642
    • Karma: +64/-1
  • AROS One
    • AROS One
Reply #17 on: January 24, 2023, 03:33:06 PM
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: 2186
    • Karma: +31/-4
  • Peace
Reply #18 on: January 26, 2023, 02:13:10 AM
mah what I do is install the build with the development tools then I copy the entire archive!


paolone

  • Legendary Member
  • *****
    • Posts: 538
    • Karma: +90/-0
Reply #19 on: January 26, 2023, 09: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

  • Legendary Member
  • *****
    • Posts: 2642
    • Karma: +64/-1
  • AROS One
    • AROS One
Reply #20 on: January 26, 2023, 11: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: 1235
    • Karma: +110/-0
Reply #21 on: January 26, 2023, 11:57:21 AM
Note that GCC in D14/DC2 does not work for C++ yet.



Amiwell

  • Legendary Member
  • *****
    • Posts: 2186
    • Karma: +31/-4
  • Peace
Reply #22 on: January 26, 2023, 12:29:14 PM
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

  • Legendary Member
  • *****
    • Posts: 2642
    • Karma: +64/-1
  • AROS One
    • AROS One
Reply #23 on: January 26, 2023, 12:49:45 PM
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

  • Legendary Member
  • *****
    • Posts: 2642
    • Karma: +64/-1
  • AROS One
    • AROS One
Reply #24 on: January 26, 2023, 09: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: 1235
    • Karma: +110/-0
Reply #25 on: January 27, 2023, 08:10:54 AM
You need to compile some example code to see whether it is really working.



AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 2642
    • Karma: +64/-1
  • AROS One
    • AROS One
Reply #26 on: January 27, 2023, 10: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, 08: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, 08:11:05 PM by cavemann »



AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 2642
    • Karma: +64/-1
  • AROS One
    • AROS One
Reply #28 on: January 27, 2023, 09: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, 10: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++?