AROS World Exec

General => Help => Topic started by: Amiwell on January 22, 2023, 12:23:39 PM

Title: GCC do not recognized
Post by: Amiwell on January 22, 2023, 12:23:39 PM
hi

I installed the development tools but on the shell when I call GCC does not work yet I see that in my system all paths are assigned, except for the compiler, how can I solve

Title: Re: GCC do not recognized
Post by: deadwood on January 22, 2023, 12:52:17 PM
Which version of AROS base system are you using? (from which download)
Which version of GCC are you using? (from which download)
What do you mean by "GCC does not work"?
Title: Re: GCC do not recognized
Post by: Amiwell on January 22, 2023, 01:09:28 PM
I'm using your build the D7 with the development tools 6.5, sorry does not work on the shell if I type gcc -v tells me gcc: object not found, I often happen this thing only on icaros works
Title: Re: GCC do not recognized
Post by: AMIGASYSTEM on January 22, 2023, 01:41:25 PM
Is the problem on your TinyAros Distribution ? possibly I download it and check where the problem is !

If you are only using the reference Build, GCC is not present in the Bin folder !
Title: Re: GCC do not recognized
Post by: Amiwell on January 23, 2023, 06:15:49 AM
I remember that you have already tried tiny aros and you work to me no only icaros there will be some assign missing perhaps, I'm currently using the builds of deadwood with the latest development tools released a short time ago

thank you Carlo
Title: Re: GCC do not recognized
Post by: AMIGASYSTEM on January 23, 2023, 06:29:25 AM
With deadwood Builds everything works regularly, you just have to copy the full BIN folder which includes GC which is not included

As soon as I have some time I download your TinyAROS and check the problem !
Title: Re: GCC do not recognized
Post by: Amiwell on January 23, 2023, 06:48:09 AM
to me does not work I do not know what is the problem with icaros works gcc :-\
Title: Re: GCC do not recognized
Post by: Amiwell on January 23, 2023, 07:22:07 AM
gcc is missing in system assign at least I noticed this
Title: Re: GCC do not recognized
Post by: AMIGASYSTEM on January 23, 2023, 08:05:01 AM
Salvo, GCC doesn't work on TinyAROS because you modified the startup-sequence, now it works see screenshot !

To solve this, delete your startup-sequence and replace it with the one from the deadwood Build

Also, the system window with the icons, it opens in a reduced way, fix it and save it.

 ------- Italiano --------

Salvo, il GCC non funziona su TinyAROS perchè hai modificato la startup-sequence, ora funziona vedi screenshot !

Per risolvere, elimina la tua startup-sequence e sostituiscila con quella della Build di deadwood

Inoltre la finestra del sistema con le icone, si apre in maniera ridotta, sistemala e salvala.
Title: Re: GCC do not recognized
Post by: Amiwell on January 23, 2023, 09:09:37 AM
sorry which build anyway I'm using now the D7 and I have not changed the startup-sequence but it does not work :-\
Title: Re: GCC do not recognized
Post by: AMIGASYSTEM on January 23, 2023, 09:21:16 AM
I was talking about your distribution, where the startup-sequence has been changed and you have to replace it  "with any of the builds"!

On the D7 build as mentioned everything works correctly, you just have to copy the manvant files, the GCC and other missing files in Development/BIN

------ Italiano -------

Io parlavo della tua distribuzione, dove la startup-sequence è stata modificata e devi sostituirla "con una qualsiasi delle build"!

Sulla build D7 come detto tutto funziona correttamente, devi solo copiare i file mancanti, il GCC ed altri file mancanti in Development/BIN
Title: Re: GCC do not recognized
Post by: Amiwell on January 23, 2023, 10:47:57 AM
va bene grazie
Title: Re: GCC do not recognized
Post by: Amiwell on January 24, 2023, 04:20:49 AM
on build D7 does not work I have to try again Tiny Aros anyway thanks
Title: Re: GCC do not recognized
Post by: AMIGASYSTEM on January 24, 2023, 04:48:27 AM
No Salvo, as already said D7 works fine, see screenshot, you probably miss something, if you want I can attach you D7 with Bin folder completed by me !

------ Italiano --------

No Salvo, come già detto la D7 funziona bene, vedi screenshot, probabilmente sbagli qualcosa, se vuoi posso allegarti la D7 con la cartella Bin completata da me !
Title: Re: GCC do not recognized
Post by: Amiwell on January 24, 2023, 05:24:21 AM
the files are right were those posted by deadwood :)
Title: Re: GCC do not recognized
Post by: AMIGASYSTEM 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.
Title: Re: GCC do not recognized
Post by: Amiwell 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 ???
Title: Re: GCC do not recognized
Post by: AMIGASYSTEM 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.
Title: Re: GCC do not recognized
Post by: Amiwell 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!
Title: Re: GCC do not recognized
Post by: paolone 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.
Title: Re: GCC do not recognized
Post by: AMIGASYSTEM 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
Title: Re: GCC do not recognized
Post by: deadwood on January 26, 2023, 04:57:21 AM
Note that GCC in D14/DC2 does not work for C++ yet.
Title: Re: GCC do not recognized
Post by: Amiwell 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
Title: Re: GCC do not recognized
Post by: AMIGASYSTEM 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
Title: Re: GCC do not recognized
Post by: AMIGASYSTEM 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
Title: Re: GCC do not recognized
Post by: deadwood on January 27, 2023, 01:10:54 AM
You need to compile some example code to see whether it is really working.
Title: Re: GCC do not recognized
Post by: AMIGASYSTEM 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.
Title: Re: GCC do not recognized
Post by: cavemann 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.
Title: Re: GCC do not recognized
Post by: AMIGASYSTEM 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++ ?
Title: Re: GCC do not recognized
Post by: cavemann 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++?
Title: Re: GCC do not recognized
Post by: AMIGASYSTEM on January 27, 2023, 05:36:26 PM
G++ gives errors, but it could be that C sources are not supported

Meanwhile I have to thank you again, thanks to the MUI source link you posted, by editing one, I created an "About" for my AROS one, I went by intuition and managed to eliminate what was not needed and increased the size of the logo  ;D