Il titolo dice tutto. Ho cercato su Google, ma ho trovato solo metodi usando rpm, che non è installato sul mio Mac.Come verificare la versione di GNU make nel terminale mac?
5
A
risposta
2
Il modo più semplice sarebbe quella di eseguire make --version
. Ad esempio, sulla mia macchina emette:
[email protected] ~$ make --version
GNU Make 4.0
Built for x86_64-redhat-linux-gnu
Copyright (C) 1988-2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
1
Per visualizzare la versione, digitare quanto segue nel terminale:
make -v
che sulla mia macchina ha dato il seguente risultato:
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i386-apple-darwin11.3.0