Page 1 of 3

Compilatore GCC

Posted: Wed Jan 17, 2007 2:03 am
by iGodness
Su Linux, per compilare qualcosa (programma in C) utilizzavo il compilatore Gcc. Come si fa tramite terminale Mac?
L'eventuale comando?

Grazie

Posted: Wed Jan 17, 2007 6:45 am
by flashcream
nessuno, il terminale non compila.

devi installare i tools, tra cui spicca GCC 4.0: http://www.apple.com/it/macosx/developertools/

Posted: Wed Jan 17, 2007 2:20 pm
by iGodness
Sono andato a leggere la pagina. Si', parla di GCC 4.0, ma non spiega dove posso trovarlo o trovare i tools da installare. Almeno cosi' mi pare. Va' che torno a dare un'occhiata.

Posted: Wed Jan 17, 2007 2:25 pm
by iGodness
Nono, calma :D Sto scaricando, non so perche', Xcode 2.4.1: 900 e passa Mega^^ Mi sa che non e' quello che cerco :roll:

Posted: Wed Jan 17, 2007 7:57 pm
by flashcream
è tutto sul dvd di tiger o della tua macchina.

Posted: Thu Jan 18, 2007 1:19 am
by iGodness
Ah, ho capito. Quindi inserisco il DVD di Tiger e installo. Grazie mille FlashCream :)

Posted: Sat Jan 20, 2007 12:22 am
by iGodness
Un'informazione: il comando cls (usato per pulire lo screen) non viene letto dal terminale del Mac. Quale devo usare? Clr? Altro?

Posted: Sat Jan 20, 2007 12:26 am
by maceric
il comando è "clear"
ciao

Posted: Sat Jan 20, 2007 4:01 am
by iGodness
con "clear" mi da errore

Posted: Sat Jan 20, 2007 4:17 am
by flashcream
ad ogni modo, clear è il comando corretto. (e stiamo divagando dall'oggetto del topic)

digita man clear e leggi:

NAME: clear - clear the terminal screen

SYNOPSIS
clear

DESCRIPTION
clear clears your screen if this is possible. It looks in the environ-
ment for the terminal type and then in the terminfo database to figure
out how to clear the screen.