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