Torna indietro   Hardware Upgrade Forum > Software > Linux, Unix, OS alternativi

Polestar 3 Performance, test drive: comodità e potenza possono convivere
Polestar 3 Performance, test drive: comodità e potenza possono convivere
Abbiamo passato diversi giorni alla guida di Polestar 3, usata in tutti i contesti. Come auto di tutti i giorni è comodissima, ma se si libera tutta la potenza è stupefacente
Qualcomm Snapdragon X2 Elite: l'architettura del SoC per i notebook del 2026
Qualcomm Snapdragon X2 Elite: l'architettura del SoC per i notebook del 2026
In occasione del proprio Architecture Deep Dive 2025 Qualcomm ha mostrato in dettaglio l'architettura della propria prossima generazione di SoC destinati ai notebook Windows for ARM di prossima generazione. Snapdragon X2 Elite si candida, con sistemi in commercio nella prima metà del 2026, a portare nuove soluzioni nel mondo dei notebook sottili con grande autonomia
Recensione DJI Mini 5 Pro: il drone C0 ultra-leggero con sensore da 1 pollice
Recensione DJI Mini 5 Pro: il drone C0 ultra-leggero con sensore da 1 pollice
DJI Mini 5 Pro porta nella serie Mini il primo sensore CMOS da 1 pollice, unendo qualità d'immagine professionale alla portabilità estrema tipica di tutti i prodotti della famiglia. È un drone C0, quindi in un peso estremamente contenuto e che non richiede patentino, propone un gimbal rotabile a 225 gradi, rilevamento ostacoli anche notturno e autonomia fino a 36 minuti. Caratteristiche che rendono il nuovo drone un riferimento per creator e appassionati
Tutti gli articoli Tutte le news

Vai al Forum
Rispondi
 
Strumenti
Old 04-03-2007, 16:05   #1
ArtX
Registered User
 
Iscritto dal: Feb 2005
Messaggi: 1856
come convivono diverse versioni di gcc

devo compilarmi un programma ma la mia debian etch ha di default il gcc4 e la compilaine mi fa errori e si blocca.
penso siano dovuti ai sorgenti che sono abbastanza vecchi.
io ho installato sia la versione 3.3,3,4 e la 4 di default.
pero come posso dare un make facendo in modo che venga usata una diversa versione da quella di default.
mi ricordo che per qemu usavo
./configure --cc=gcc-3.3
ma il config del programma non supporta sta opzione.
qualche idea?
ArtX è offline   Rispondi citando il messaggio o parte di esso
Old 04-03-2007, 16:22   #2
VICIUS
Senior Member
 
L'Avatar di VICIUS
 
Iscritto dal: Oct 2001
Messaggi: 11471
Installi i pacchetti delle varie versioni e poi usi update-alternatives per scegliere quale usare.

ciao
VICIUS è offline   Rispondi citando il messaggio o parte di esso
Old 04-03-2007, 16:45   #3
ArtX
Registered User
 
Iscritto dal: Feb 2005
Messaggi: 1856
grazie VICIUS
ArtX è offline   Rispondi citando il messaggio o parte di esso
Old 04-03-2007, 17:22   #4
ArtX
Registered User
 
Iscritto dal: Feb 2005
Messaggi: 1856
lasciando stare la compilazione che non è andata a buon fine lo stesso
proverò con uno più vetusto
ho configurato update-alternatives così
per il gcc-4.1
Codice:
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.0 40 --slave /usr/bin/g++ g++ /usr/bin/g++-4.1
e per il 3.4
Codice:
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-3.4 60 --slave /usr/bin/g++ g++ /usr/bin/g++-3.4
(una domanda, ma va ad agire solo sui link simbolici degli eseguibili in /usr/bin/ o fa altro?)
poi perchè quando faccio configure sul programma mi dà quest'errore se attivo il gcc-3.4
Codice:
checking for a sed that does not truncate output... (cached)
checking for ld used by gcc... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for /usr/bin/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking how to recognise dependent libraries... (cached) pass_all
checking for dlfcn.h... (cached) yes
checking for g++... (cached) g++
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) none
checking how to run the C++ preprocessor... gcc -E
configure: error: C++ preprocessor "gcc -E" fails sanity check
See `config.log' for more details.
poi l'errore in compilazione è questo e mi sembra dovuto al gcc se non sbaglio, ma non sono un esperto
Codice:
In file included from tkStubLib.c:52:
tkIntPlatDecls.h:395: error: syntax error before '*' token
tkIntPlatDecls.h:398: error: syntax error before '*' token
tkIntPlatDecls.h:400: error: syntax error before "Colormap"
tkIntPlatDecls.h:403: error: syntax error before '*' token
tkIntPlatDecls.h:405: error: syntax error before '*' token
tkIntPlatDecls.h:405: error: `TkUnixContainerId' declared as function returning a function
tkIntPlatDecls.h:415: error: syntax error before '*' token
tkIntPlatDecls.h:417: error: syntax error before '*' token
tkIntPlatDecls.h:419: error: syntax error before '*' token
tkIntPlatDecls.h:421: error: syntax error before '*' token
tkIntPlatDecls.h:593: error: syntax error before '*' token
tkIntPlatDecls.h:594: error: syntax error before '*' token
tkIntPlatDecls.h:595: error: syntax error before "Colormap"
tkIntPlatDecls.h:596: error: syntax error before '*' token
tkIntPlatDecls.h:597: error: syntax error before '*' token
tkIntPlatDecls.h:597: error: `tkUnixContainerId' declared as function returning a function
tkIntPlatDecls.h:601: error: syntax error before '*' token
tkIntPlatDecls.h:602: error: syntax error before '*' token
tkIntPlatDecls.h:603: error: syntax error before '*' token
tkIntPlatDecls.h:604: error: syntax error before '*' token
tkStubLib.c:63: error: syntax error before '*' token
tkStubLib.c:63: warning: data definition has no type or storage class
tkStubLib.c:65: error: syntax error before '*' token
tkStubLib.c:65: warning: data definition has no type or storage class
tkStubLib.c: In function `Tk_InitStubs':
tkStubLib.c:113: error: request for member `hooks' in something not a structure or union
tkStubLib.c:114: error: request for member `hooks' in something not a structure or union
tkStubLib.c:115: error: request for member `hooks' in something not a structure or union
tkStubLib.c:116: error: request for member `hooks' in something not a structure or union
{standard input}: Assembler messages:
{standard input}:2065: Error: symbol `nextPtr' is already defined
{standard input}:2071: Error: symbol `name' is already defined
{standard input}:2676: Error: symbol `nextPtr' is already defined
{standard input}:2706: Error: symbol `parentPtr' is already defined
{standard input}:2712: Error: symbol `nextPtr' is already defined
make[4]: *** [tkStubLib.lo] Error 1
make[4]: Leaving directory `/home/artx/sources/brlcad-7.8.4/src/other/libtk/generic'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/artx/sources/brlcad-7.8.4/src/other/libtk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/artx/sources/brlcad-7.8.4/src/other'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/artx/sources/brlcad-7.8.4/src'
make: *** [all-recursive] Error 1
non ditemi di usare i binari però

Ultima modifica di ArtX : 04-03-2007 alle 17:25.
ArtX è offline   Rispondi citando il messaggio o parte di esso
Old 05-03-2007, 20:34   #5
ArtX
Registered User
 
Iscritto dal: Feb 2005
Messaggi: 1856
nessuno
ArtX è offline   Rispondi citando il messaggio o parte di esso
Old 18-03-2007, 15:46   #6
ArtX
Registered User
 
Iscritto dal: Feb 2005
Messaggi: 1856
nessuno, non mollo finchè non ce la farò
VICIUS aiutami tu
ArtX è offline   Rispondi citando il messaggio o parte di esso
 Rispondi


Polestar 3 Performance, test drive: comodità e potenza possono convivere Polestar 3 Performance, test drive: comodit&agra...
Qualcomm Snapdragon X2 Elite: l'architettura del SoC per i notebook del 2026 Qualcomm Snapdragon X2 Elite: l'architettura del...
Recensione DJI Mini 5 Pro: il drone C0 ultra-leggero con sensore da 1 pollice Recensione DJI Mini 5 Pro: il drone C0 ultra-leg...
ASUS Expertbook PM3: il notebook robusto per le aziende ASUS Expertbook PM3: il notebook robusto per le ...
Test ride con Gowow Ori: elettrico e off-road vanno incredibilmente d'accordo Test ride con Gowow Ori: elettrico e off-road va...
ESA: rilevati 40 mila asteroidi vicino a...
La batteria salva fabbriche di EQORE ott...
SpaceX Starship: iniziati i test della t...
Datacenter IA nello spazio entro 5 anni,...
Telescopio spaziale James Webb: rilevato...
Ericsson Mobility Report: nel 2025 il 5G...
PLAI DEMO DAY: si chiude il secondo cicl...
Google rilascia Nano Banana Pro: il nuov...
ChatGPT si rinnova ancora: disponibile l...
Ring lancia super sconti di Black Friday...
Black Friday 2025: 450 euro di sconto su...
Tutte le offerte Blink in un unico posto...
OpenAI e Foxconn uniscono le forze per r...
Ricarica delle auto elettriche in 3 minu...
Lucid presenta Gravity Touring, il SUV e...
Chromium
GPU-Z
OCCT
LibreOffice Portable
Opera One Portable
Opera One 106
CCleaner Portable
CCleaner Standard
Cpu-Z
Driver NVIDIA GeForce 546.65 WHQL
SmartFTP
Trillian
Google Chrome Portable
Google Chrome 120
VirtualBox
Tutti gli articoli Tutte le news Tutti i download

Strumenti

Regole
Non Puoi aprire nuove discussioni
Non Puoi rispondere ai messaggi
Non Puoi allegare file
Non Puoi modificare i tuoi messaggi

Il codice vB è On
Le Faccine sono On
Il codice [IMG] è On
Il codice HTML è Off
Vai al Forum


Tutti gli orari sono GMT +1. Ora sono le: 19:54.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Served by www3v