blob: f50cd01884cb8ffc765cff3d42d92900cfb43600 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
# hints file for dos/djgpp v2.xx
# Original by Laszlo Molnar <molnarl@cdata.tvnet.hu>
# 971015 - archname changed from 'djgpp' to 'dos-djgpp'
# 971210 - threads support
archname='dos-djgpp'
archobjs='djgpp.o'
path_sep=\;
startsh="#!sh"
cc='gcc'
ld='gcc'
usrinc="$DJDIR/include"
libpth="$DJDIR/lib"
libc="$libpth/libc.a"
so='none'
usedl='n'
firstmakefile='GNUmakefile'
exe_ext='.exe'
randbits=31
ln='cp' # no REAL ln on dos
lns='cp'
usenm='true'
d_bincompat3='undef'
d_link='undef' # these are empty functions in libc.a
d_symlink='undef'
d_fork='undef'
d_pipe='undef'
startperl='#!perl'
case "X$optimize" in
X)
optimize="-O2 -malign-loops=2 -malign-jumps=2 -malign-functions=2"
;;
esac
ldflags='-s'
usemymalloc='n'
timetype='time_t'
prefix=$DJDIR
privlib=$prefix/lib/perl5
archlib=$privlib
sitelib=$privlib/site
sitearch=$sitelib
: set up the translation script tr
cat >../UU/tr <<EOSC
$startsh
case "\$1\$2" in
'[A-Z][a-z]') exec tr.exe '[:upper:]' '[:lower:]';;
'[a-z][A-Z]') exec tr.exe '[:lower:]' '[:upper:]';;
esac
exec tr.exe "\$@"
EOSC
if [ "X$usethreads" != "X" ]; then
ccflags="-DUSE_THREADS $ccflags"
cppflags="-DUSE_THREADS $cppflags"
set `echo X "$libswanted "| sed -e 's/ c / gthreads c /'`
shift
libswanted="$*"
fi
|