Programowanie w systemie UNIX/Kompilacja: Różnice pomiędzy wersjami

Usunięta treść Dodana treść
→‎etapy: savce temps
Linia 131:
 
==Narzędzia do kompilacji ==
 
===bash ===
 
Sprawdzanie wyniku kompilacji
<syntaxhighlight lang="bash">
 
# https://serverfault.com/questions/126756/gcc-compile-result-from-bash-script
./configure
if [ $? -ne 0 ]
then
echo Configure failed
exit 1
fi
 
make
if [ $? -ne 0 ]
then
echo make failed
exit 1
fi
 
make install
if [ $? -ne 0 ]
then
echo make install failed
exit 1
fi
 
echo All steps Succeeded
</syntaxhighlight>
 
===Make===
{{wikipedia|make}}