repo.or.cz
/
syslinux-debian
/
hramrach.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Adding debian version 4.03+dfsg-8.
[syslinux-debian/hramrach.git]
/
win64
/
find-mingw64.sh
blob
6b620c8770870868b2e7e64b697f167078a02ba7
1
#!/bin/sh
2
3
cc
=
"
$1
"
4
5
for
prefix
in
\
6
mingw64- \
7
x86_64-pc-mingw64- \
8
x86_64-pc-mingw64msvc- \
9
x86_64-pc-mingw32- \
10
x86_64-pc-mingw32msvc- \
11
x86_64-mingw64- \
12
x86_64-mingw64msvc- \
13
x86_64-mingw32- \
14
x86_64-mingw32msvc- \
15
;
do
16
if
"
${prefix}
${cc}
"
-v
> /
dev
/
null
2
>&
1
;
then
17
echo
"
$prefix
"
18
exit
0
19
fi
20
done
21
22
# No prefix, no idea what to do now...
23
echo
missing-
24
exit
1