repo.or.cz
/
ocaml.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Sys.Signals module for a Variant type of signals (and a set_signal function that...
[ocaml.git]
/
config
/
auto-aux
/
solaris-ld
blob
3ab90bceff74a7dc721ad017a29848ab21cc143d
1
#!/bin/sh
2
# Determine if gcc calls the Solaris ld or the GNU ld
3
# Exit code is 0 for Solaris ld, 1 for GNU ld
4
5
echo
"int main() { return 0; }"
>
hasgot.c
6
$cc
-v -o
tst hasgot.c
2
>&
1
|
grep
-s
'^ld:'
> /
dev
/
null
7
exit
$?