ld="`head -1 ../conf-ld`"
qlibs="`head -1 ../conf-qlibs`"
systype="`cat systype`"

flag=0

rm -f trycpp.o

flag=`cc -c tryssl.c -m64 2>&1 | wc -l` 
if [ $flag -eq 0 ]; then
  #ld="$ld -m64"
  ld="$ld"
fi

rm -f trycpp.o

cat warn-auto.sh
echo 'main="$1"; shift'
echo exec "$ld" -L"${qlibs}" '-o "$main" "$main".o ${1+"$@"} -ldnsresolv -lqlibs'
