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' |
5 | |
6 | archname='dos-djgpp' |
7 | archobjs='djgpp.o' |
8 | path_sep=\; |
9 | startsh="#!sh" |
10 | |
11 | cc='gcc' |
12 | ld='gcc' |
13 | usrinc="$DJDIR/include" |
14 | |
15 | libpth="$DJDIR/lib" |
16 | libc="$libpth/libc.a" |
17 | |
18 | so='none' |
19 | usedl='n' |
20 | |
21 | firstmakefile='GNUmakefile' |
22 | exe_ext='.exe' |
23 | |
24 | randbits=31 |
25 | |
26 | ln='cp' # no REAL ln on dos |
27 | lns='cp' |
28 | |
29 | usenm='true' |
30 | d_bincompat3='undef' |
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) |
41 | optimize="-O2 -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2" |
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 | |
54 | : set up the translation script tr |
55 | |
56 | cat >../UU/tr <<EOSC |
57 | $startsh |
58 | case "\$1\$2" in |
59 | '[A-Z][a-z]') exec tr.exe '[:upper:]' '[:lower:]';; |
60 | '[a-z][A-Z]') exec tr.exe '[:lower:]' '[:upper:]';; |
61 | esac |
62 | exec tr.exe "\$@" |
63 | EOSC |