Skip to content

Commit

Permalink
added debug messages to build script
Browse files Browse the repository at this point in the history
  • Loading branch information
janmojzis committed Jan 5, 2018
1 parent 7bcfb67 commit 697bc1e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions make-tinyssh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export LANG
log0 "uname -a: `uname -a || :`"
log0 "uname -F: `uname -F || :`"
log0 "uname -M: `uname -M || :`"
log0 "ulimit -a: `echo; ulimit -a || :`"

log1 "obtaining compiler"
rm -rf "${work}"
Expand Down Expand Up @@ -207,6 +208,7 @@ cp -pr crypto-tests/*.data "${work}" 2>/dev/null || :
echo 'return 0; }'
) > try.c
#try ext. crypto library
log0 "trying: ext. ${primitive}:"
if ${compiler} -c "${testf}.c" ${libs}; then
if ${compiler} -o "${testf}" "${testf}.o" ${libs}; then
if ${compiler} -o try try.c; then
Expand All @@ -221,6 +223,7 @@ cp -pr crypto-tests/*.data "${work}" 2>/dev/null || :
fi
fi
#try int. crypto library
log0 "trying: int. ${primitive}:"
if cp -p "${top}/crypto/${primitive}.h" . ; then
if ${compilerorig} -I. -I"$include" -o "${testf}" "${testf}.c" ${origlibs}; then
if ${compilerorig} -I. -I"$include" -o try try.c; then
Expand Down

0 comments on commit 697bc1e

Please sign in to comment.