Pagina 1 di 1

[Kernel] gcc diverse versioni

Inviato: giovedì 2 ottobre 2008, 11:12
da edel
Sto provando a far girare un programma su linux 2.6.24-21-generic senza grossi risultati.
Il codice è funzionante con compilatore gcc 3.3, ma, sul mio pc è installato gcc version 3.3.6 (Ubuntu 1:3.3.6-15ubuntu6).
Il programma non gira...questo problema può dipendere dal fatto che ho una versione del compilatore "diversa" da quella richiesta???? ???
Può sembrare banale la mia domanda ma ho notato che esistono diverse release della versione 3.3 del gcc e so che alcuni programmi girano solo con determinati compilatori.

grazie.

Re: [Kernel] gcc diverse versioni

Inviato: venerdì 3 ottobre 2008, 11:01
da njin
Probabile, prova con la 3.3

As of the 2.6.18 kernel release, the 3.2 version of gcc is the oldest that can prop-
erly build a working kernel. Be warned that getting the most recent gcc version is
not always a good idea. Some of the newest gcc releases don’t build the kernel
properly, so unless you wish to help debug compiler bugs, it is not recommended
that you try them out.

Fonte: linux in a nutshell

Re: [Kernel] gcc diverse versioni

Inviato: venerdì 3 ottobre 2008, 14:49
da edel
ok...ma si GCC3.3 ne sistono diverse...
quale devo insallare???
gcc 3.3.0....ma differisce molto dal gcc 3.3.6?????