mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-31 11:21:59 +00:00
Update host reqirements script for g++
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10241 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
142b29b5fc
commit
4fedd8d36c
@ -184,10 +184,10 @@ tar --version | head -n1
|
|||||||
echo "Texinfo: `makeinfo --version | head -n1`"
|
echo "Texinfo: `makeinfo --version | head -n1`"
|
||||||
xz --version | head -n1
|
xz --version | head -n1
|
||||||
|
|
||||||
echo 'main(){}' > dummy.c && gcc -o dummy dummy.c
|
echo 'main(){}' > dummy.c && g++ -o dummy dummy.c
|
||||||
if [ -x dummy ]
|
if [ -x dummy ]
|
||||||
then echo "gcc compilation OK";
|
then echo "g++ compilation OK";
|
||||||
else echo "gcc compilation failed"; fi
|
else echo "g++ compilation failed"; fi
|
||||||
rm -f dummy.c dummy</literal>
|
rm -f dummy.c dummy</literal>
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user