bash question

keramida at ceid.upatras.gr keramida at ceid.upatras.gr
Tue May 26 14:54:44 EEST 1998


: > configure:1853: g++ -o conftest -O2 -Wall  -s conftest.C -lsocket   1>&5 )
:
: Pi8avotata pio priv apo auth th gramh, to config eixe sthsei eva
: listening socket apo opou epeblepe th diadikasia evos script.

Ta scripts pou dnmiourgouvtai apo to autoconf (pou ap' oso ksero legovtai
panta "configure") xrhsimopoioun to file descriptor 5 oxi gia kaveva socket
'n tipota pio palabo, alla gia na kavouv logging kapoia minimata pou meta
to treksimo tou configure mporei na favouv xrnsima.

Sugkekrimena, to file descriptor 5 xrhsimopoieitai gia na sozontai ta
compiler-messages ton tests pou kanei to configure otan psaxnei diafores
parametrous tou sistimatos sto opoio trexei.  Kai gia na eimaste pio swstoi
akolouthei (sxoliasmenos) o kwdikas pou bazei sto script "configure" to
autoconf gia na kanei autn tn douleia.

<quote>
# File descriptor usage:
# 0 standard input
# 1 file creation
# 2 errors and warnings
# 3 some systems may open it to /dev/tty
# 4 used on the Kubota Titan
# 6 checking for... messages and results
# 5 compiler messages saved in config.log
if test "$silent" ÿes; then	## if we are supposed to be silent...
  exec 6>/dev/null		## ...send "checking..." messages to /dev/null
else				## otherwise...
  exec 6>&1			## just print them to standard output
fi				##
exec 5>./config.log		## redirection of /dev/fd/5 to "config.log"
</quote>

Elpizo na boithisa kapos...

-- 
Georgios E. Keramidas (keramida at ceid.upatras.gr)
"In the name of the Father, the Son and the Linux-spirit."
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at argos.hol.gr
Ta archives tis listas einai sto http://www.argos.hol.gr/lists :
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================



More information about the Linux-greek-users mailing list